From 0a15996b2a794c7bedd45ab321c008977f05a40c Mon Sep 17 00:00:00 2001 From: Johan Holmberg <holmberg556@gmail.com> Date: Thu, 26 Mar 2009 21:50:24 +0000 Subject: [PATCH] use new REQUIRE instead of SKIP --- t/00-file_equal.rb | 3 ++- t/01-misc.rb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/t/00-file_equal.rb b/t/00-file_equal.rb index f40adc2..b9b7b8e 100644 --- a/t/00-file_equal.rb +++ b/t/00-file_equal.rb @@ -146,7 +146,8 @@ end #----------------------------------- # file_equal -- other error -# SKIP mswin32 +# +# REQUIRE: RUBY_PLATFORM !~ /mswin32/ File.symlink "foo", "foo" diff --git a/t/01-misc.rb b/t/01-misc.rb index b8a7fe1..3dde866 100644 --- a/t/01-misc.rb +++ b/t/01-misc.rb @@ -613,7 +613,8 @@ end # symlinks in tree -- should work # TODO: this test should be improved to actually trigger the difference # between lstat/stat in "_update_hardlinks". -# SKIP mswin32 +# +# REQUIRE: RUBY_PLATFORM !~ /mswin32/ File.symlink "non-existing", "non-existing-link"