test/tc/copydir.rb in rio-0.4.2 vs test/tc/copydir.rb in rio-0.5.1

- old
+ new

@@ -154,13 +154,17 @@ assert_kind_of(::Array,src) dst < src assert(dst.file?) assert_equal(src,dst.readlines) end + unless $jruby def test_tofile dst = rio('dst').delete!.touch - exp = ($mswin32 ? Errno::ENOENT : Errno::ENOTDIR) + exp = ( ($mswin32 || $mingw32) ? Errno::ENOENT : Errno::ENOTDIR) + #exp = Errno::ENOTDIR + #exp = Errno::ENOENT assert_raise(exp) { @d0 > dst } + end end end