From 771fd915a453d1cbc809189a57520675f2fa3fd4 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 30 Sep 2019 17:39:38 +0900 Subject: Use assert_operator instead of mere assert --- test/ruby/test_method.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') 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 -- cgit v1.2.3