New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip "File.readlink fails" test on MSVC #3877

Merged
merged 1 commit into from Dec 9, 2017
Jump to file or symbol
Failed to load files and symbols.
+4 −0
Diff settings

Always

Just for now

Skip "File.readlink fails" test on MSVC

When MSVC, "File.readlink fails with non-symlink" test was failed even if raising NotImplementedError
  • Loading branch information...
bamchoh committed Dec 8, 2017
commit 0ded91c806b66a419c2e683095b3fd124a4efee7
@@ -107,6 +107,7 @@
assert("File.readlink fails with non-symlink") do
begin
e2 = nil
assert_raise(RuntimeError) {
begin
File.readlink($mrbtest_io_rfname)
@@ -115,8 +116,11 @@
raise RuntimeError, "SystemCallError converted to RuntimeError"
end
raise e
rescue NotImplementedError => e
e2 = e
end
}
raise e2 if e2
rescue NotImplementedError => e
skip e.message
end
ProTip! Use n and p to navigate between commits in a pull request.