Permalink
Browse files

Fixed bug about changed overloading behaviour with Test::More 0.96

  • Loading branch information...
1 parent bba4746 commit 739635e3c352870ae1c57e3d536cc5ed426f3834 Torsten Raudssus committed Aug 17, 2010
Showing with 6 additions and 6 deletions.
  1. +6 −6 t/file_spec.t
View
@@ -36,10 +36,10 @@ test_file_contents(io->catpath('', qw(t mystuff))->scalar, 't/mystuff');
is(io('/foo/bar/baz')->abs2rel('/foo'), f 'bar/baz');
is(io('foo/bar/baz')->rel2abs('/moo'), f '/moo/foo/bar/baz');
-is(io->dir('doo/foo')->catdir('goo', 'hoo'), f 'doo/foo/goo/hoo');
-is(io->dir->catdir('goo', 'hoo'), f 'goo/hoo');
-is(io->catdir('goo', 'hoo'), f 'goo/hoo');
+is("".io->dir('doo/foo')->catdir('goo', 'hoo'), f 'doo/foo/goo/hoo');
+is("".io->dir->catdir('goo', 'hoo'), f 'goo/hoo');
+is("".io->catdir('goo', 'hoo'), f 'goo/hoo');
-is(io->file('doo/foo')->catfile('goo', 'hoo'), f 'doo/foo/goo/hoo');
-is(io->file->catfile('goo', 'hoo'), f 'goo/hoo');
-is(io->catfile('goo', 'hoo'), f 'goo/hoo');
+is("".io->file('doo/foo')->catfile('goo', 'hoo'), f 'doo/foo/goo/hoo');
+is("".io->file->catfile('goo', 'hoo'), f 'goo/hoo');
+is("".io->catfile('goo', 'hoo'), f 'goo/hoo');

0 comments on commit 739635e

Please sign in to comment.