summaryrefslogtreecommitdiff
path: root/t/00compact.t
blob: e7c68c59a2880f12f19d468238786963bebddef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
plan test => 1;

use TestPreproc;

my $obj = new TestPreproc -expand => [qw(compact)];
ok($obj->dump_raw, $obj->dump_expect);
__DATA__
!>httpd.conf
# Main file
ServerName localhost

  ServerRoot "$server_root"
# Comment 1
# Comment 2
!=
ServerName localhost
  ServerRoot "$server_root"
!$

Return to:

Send suggestions and report system problems to the System administrator.