test/test_fresh.rb: fix breakage from Ruby-trunk r50118
commit44dd54e3c3ae6a771baa17935ebe09ece1616026
authorEric Wong <e@80x24.org>
Wed, 27 May 2015 21:33:03 +0000 (27 21:33 +0000)
committerEric Wong <e@80x24.org>
Wed, 27 May 2015 21:33:03 +0000 (27 21:33 +0000)
tree6e2b21c0203aaea9ffdf6bb81e2a31931eef6eb5
parent8ac33ad550d56702c0ee456615cce4478f1a7235
test/test_fresh.rb: fix breakage from Ruby-trunk r50118

IO.copy_stream behaves slightly differently when operating on
non-IO-subclassed objects nowadays.

Ref:
> * io.c (copy_stream_body): use the arguments without conversion if
>   having read, readpartial, and write methods, than conversion by
>   to_path method.  [ruby-core:68676] [Bug #11015]
test/test_fresh.rb