diff options
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 53b75c6594..3e030309b6 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -1015,7 +1015,7 @@ class TestFileExhaustive < Test::Unit::TestCase end def test_dirname - assert(regular_file.start_with?(File.dirname(regular_file))) + assert_equal(@dir, File.dirname(regular_file)) assert_equal(".", File.dirname("")) assert_incompatible_encoding {|d| File.dirname(d)} if File::ALT_SEPARATOR == '\\' |