Skip to content

Commit

Permalink
Work on configurable HTML: t+
Browse files Browse the repository at this point in the history
  • Loading branch information
- committed Oct 10, 2012
1 parent 87ce338 commit 2a4d47d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
File renamed without changes.
5 changes: 4 additions & 1 deletion r2/html/t/config.t
Expand Up @@ -58,8 +58,11 @@ my $short_round_trip_file = do {
};

my $long_round_trip_file = do {
open my $source_fh, q{<}, 'g/config/default.txt';
my $source_file = join q{}, <$source_fh>;
close $source_fh;
my $long_round_trip_ref =
Marpa::R2::HTML::html( \"hi", \{ compile => 'g/config/default.txt', dump_config => 1 } );
Marpa::R2::HTML::html( \"hi", \{ compile => \$source_file, dump_config => 1 } );
die "No parse" if not ref $long_round_trip_ref;
${$long_round_trip_ref};
};
Expand Down

0 comments on commit 2a4d47d

Please sign in to comment.