aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rand.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 14:17:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 14:17:54 +0000
commit7f46fadd9d7f8ee32d9837a67e212f55e23666b8 (patch)
tree33a1f8e8f60c309d3752134ff3c6fea6401b2773 /test/ruby/test_rand.rb
parent58b325366dbc5c84be12fb336ee5e68f208d9365 (diff)
downloadruby-7f46fadd9d7f8ee32d9837a67e212f55e23666b8.tar.gz
* lib/test/unit.rb (assert_include): add alias.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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))