Skip to content

Commit

Permalink
Test that __DATA__ handles work with Nested.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Aug 4, 2013
1 parent b5571f3 commit 5f653fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions aggtests-nested/data_handle.t
@@ -0,0 +1,11 @@
#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 1;

is scalar(<DATA>), "aggregation!\n", 'data handle is accessible';

__DATA__
aggregation!
2 changes: 1 addition & 1 deletion t/nested.t
Expand Up @@ -14,7 +14,7 @@ my $dump = 'dump.t';
my $tests = Test::Aggregate::Nested->new(
{ verbose => 2,
shuffle => 1,
dirs => 'aggtests',
dirs => [ 'aggtests', 'aggtests-nested' ],
set_filenames => 1,
findbin => 1,
test_nowarnings => 0,
Expand Down

0 comments on commit 5f653fa

Please sign in to comment.