summaryrefslogtreecommitdiff
path: root/t/06locus00.t
blob: 543760df58abb474847cf779fa5f3fc6f2f07100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
plan test => 1;

use TestPreproc;
my $obj = new TestPreproc -expand => [qw(locus)];
ok($obj->dump_reformat_synclines, $obj->dump_expect)

__DATA__
!>httpd.conf
# Start of file

# Comment 1
# Comment 2
# Comment 3


# End of file
!=
# $server_root/httpd.conf:1
# Start of file
# $server_root/httpd.conf:2

# $server_root/httpd.conf:3-5
# Comment 1
# Comment 2
# Comment 3
# $server_root/httpd.conf:6-7


# $server_root/httpd.conf:8
# End of file
!$

Return to:

Send suggestions and report system problems to the System administrator.