1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use assert_operator instead of mere assert

This commit is contained in:
Nobuyoshi Nakada 2019-09-30 17:39:38 +09:00
parent 1722c156dd
commit 771fd915a4
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -1207,7 +1207,7 @@ class TestMethod < Test::Unit::TestCase
} }
# puts "#{nummodule} modules, #{nummethod} methods" # puts "#{nummodule} modules, #{nummethod} methods"
assert nummodule > 0 assert_operator nummodule, :>, 0
assert nummethod > 0 assert_operator nummethod, :>, 0
end end
end end