summaryrefslogtreecommitdiff
path: root/test/ruby/test_rand.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_rand.rb')
-rw-r--r--test/ruby/test_rand.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rand.rb b/test/ruby/test_rand.rb
index 5ff2fe5e68..b3dc6959c7 100644
--- a/test/ruby/test_rand.rb
+++ b/test/ruby/test_rand.rb
@@ -357,7 +357,7 @@ END
end
v = r.rand(3.1..4)
assert_instance_of(Float, v, '[ruby-core:24679]')
- assert_includes(3.1..4, v)
+ assert_include(3.1..4, v)
now = Time.now
assert_equal(now, r.rand(now..now))