Skip to content

Commit

Permalink
Make test robust in the face of Windows newlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jan 5, 2015
1 parent 0aee8d1 commit d3ec728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S05-metasyntax/longest-alternative.t
Expand Up @@ -294,7 +294,7 @@ my $str = 'a' x 7;

my $m = IETF::RFC_Grammar::URI.subparse('http://example.com:80/about/us?foo#bar');
ok $m, "IETF::RFC_Grammar::URI matches";
is $m.gist, q:to/END/, "IETF::RFC_Grammar::URI gets ltm and longlit right";
is $m.gist, q:to/END/.subst("\r", "", :g), "IETF::RFC_Grammar::URI gets ltm and longlit right";
「http://example.com:80/about/us?foo#bar」
URI_reference => 「http://example.com:80/about/us?foo#bar」
URI => 「http://example.com:80/about/us?foo#bar」
Expand Down

0 comments on commit d3ec728

Please sign in to comment.