diff options
-rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index a3252d88b7..2f656d4c36 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -2442,7 +2442,7 @@ End %w{normal random sequential willneed dontneed noreuse}.map(&:to_sym).each do |adv| [[0,0], [0, 20], [400, 2]].each do |offset, len| open(tf.path) do |t| - assert_equal(t.advise(adv, offset, len), nil) + assert_nil(t.advise(adv, offset, len)) assert_raise(ArgumentError, "superfluous arguments") do t.advise(adv, offset, len, offset) end |