diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-30 17:39:38 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-30 17:39:38 +0900 |
commit | 771fd915a453d1cbc809189a57520675f2fa3fd4 (patch) | |
tree | c320491fc92bf013420b7903fbd5cff0272383aa /test/ruby/test_method.rb | |
parent | 1722c156dd45618cea712f017ca744d6f3b55be8 (diff) |
Use assert_operator instead of mere assert
Diffstat (limited to 'test/ruby/test_method.rb')
-rw-r--r-- | test/ruby/test_method.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb index 9b68b84134..021f618ad3 100644 --- a/test/ruby/test_method.rb +++ b/test/ruby/test_method.rb @@ -1207,7 +1207,7 @@ class TestMethod < Test::Unit::TestCase } # puts "#{nummodule} modules, #{nummethod} methods" - assert nummodule > 0 - assert nummethod > 0 + assert_operator nummodule, :>, 0 + assert_operator nummethod, :>, 0 end end |