From 85486f9af18e4f249f23253e3b251e685b323912 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 6 Jan 2020 09:54:50 +0000 Subject: fixes for newer rubies Newer rubies have more warnings --- test/test_raindrops.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_raindrops.rb') diff --git a/test/test_raindrops.rb b/test/test_raindrops.rb index 67089b7..0749694 100644 --- a/test/test_raindrops.rb +++ b/test/test_raindrops.rb @@ -134,7 +134,7 @@ class TestRaindrops < Test::Unit::TestCase assert_equal 0, rd[rd.capa - 1] assert_equal 1, rd.incr(rd.capa - 1) assert_raises(ArgumentError) { rd[rd.capa] } - rescue RangeError + rescue RangeError end # if RUBY_PLATFORM =~ /linux/ def test_evaporate -- cgit v1.2.3-24-ge0c7