diff options
author | Marc-Andre Lafortune <[email protected]> | 2019-12-23 02:34:16 -0500 |
---|---|---|
committer | Marc-Andre Lafortune <[email protected]> | 2019-12-23 16:47:33 -0500 |
commit | 819b604037c317d2b53a1aaca67aef25da2d5ec9 (patch) | |
tree | 0dfc97bef8bdac44091e2c627325ed61fd61a16c /test/ruby/test_numeric.rb | |
parent | df6f5c44af1f261fa940ec3954468be8b820450e (diff) |
Reword keyword arguments warning messages to convey these are deprecation warnings
Diffstat (limited to 'test/ruby/test_numeric.rb')
-rw-r--r-- | test/ruby/test_numeric.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_numeric.rb b/test/ruby/test_numeric.rb index 2cd363c29a..636f827fe3 100644 --- a/test/ruby/test_numeric.rb +++ b/test/ruby/test_numeric.rb @@ -293,7 +293,7 @@ class TestNumeric < Test::Unit::TestCase assert_raise(ArgumentError, bug9811) { 1.step(10, 1, by: 11).size } - e = assert_warn(/The last argument is used as keyword parameters/) { + e = assert_warn(/Using the last argument as keyword parameters is deprecated/) { 1.step(10, {by: "1"}) } assert_warn('') { |