ruby-changes:58049
From: Nobuyoshi <ko1@a...>
Date: Mon, 30 Sep 2019 17:40:09 +0900 (JST)
Subject: [ruby-changes:58049] 771fd915a4 (master): Use assert_operator instead of mere assert
https://git.ruby-lang.org/ruby.git/commit/?id=771fd915a4 From 771fd915a453d1cbc809189a57520675f2fa3fd4 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 30 Sep 2019 17:39:38 +0900 Subject: Use assert_operator instead of mere assert diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb index 9b68b84..021f618 100644 --- a/test/ruby/test_method.rb +++ b/test/ruby/test_method.rb @@ -1207,7 +1207,7 @@ class TestMethod < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_method.rb#L1207 } # puts "#{nummodule} modules, #{nummethod} methods" - assert nummodule > 0 - assert nummethod > 0 + assert_operator nummodule, :>, 0 + assert_operator nummethod, :>, 0 end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/