diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 5ebdbc5ff4..315222e4e7 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -409,7 +409,7 @@ class TestFileExhaustive < Test::Unit::TestCase def test_owned_p return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM assert_file.owned?(regular_file) - assert_file.not_owned?(notownedfile) + assert_file.not_owned?(notownedfile) if notownedfile end def test_grpowned_p ## xxx @@ -1365,7 +1365,7 @@ class TestFileExhaustive < Test::Unit::TestCase def test_stat_owned_p return if /cygwin|mswin|bccwin|mingw|emx/ =~ RUBY_PLATFORM assert(File::Stat.new(regular_file).owned?) - assert(!File::Stat.new(notownedfile).owned?) + assert(!File::Stat.new(notownedfile).owned?) if notownedfile end def test_stat_grpowned_p ## xxx |