Skip to content

Commit

Permalink
do not rely on exact .perl form
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Mar 29, 2012
1 parent 2bd4c9b commit 8f426a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/01.t
Expand Up @@ -51,7 +51,7 @@ is($u.segments[*-1], 'baz', 'last segment');
$u = URI.new;
$u.parse('http://foo.com');

ok($u.segments.list.perl eq '[""]', ".segments return [''] for empty path");
ok($u.segments == 1 && $u.segments[0] eq '', ".segments return [''] for empty path");
ok($u.absolute, 'http://foo.com has an absolute path');
nok($u.relative, 'http://foo.com does not have a relative path');
is($u.port, 80, 'default http port');
Expand Down

0 comments on commit 8f426a7

Please sign in to comment.