# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
plan test => 1;
use TestPreproc;
my $obj = new TestPreproc -expand => [qw(include)];
ok($obj->dump_raw, $obj->dump_expect);
__DATA__
!>httpd.conf
# Main file
ServerName localhost
ServerRoot "$server_root"
Include vhost.conf
PidFile logs/httpd.pid
!>vhost.conf
# Vhost include
ServerName foo.bar.example.com
!=
# Main file
ServerName localhost
ServerRoot "$server_root"
# Vhost include
ServerName foo.bar.example.com
PidFile logs/httpd.pid
!$