summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 15:33:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 15:33:34 +0000
commitc2e082742115ca6860d3f55509d86a15db0b9a96 (patch)
tree868ad75a0a080d6266957a43282c36a2dddce4ed
parent1073e5d0977cbe225d2c9e5eba900b05de984cf0 (diff)
add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/test_time.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index cfbf42d6f6a..97a5ce7bdf5 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -171,6 +171,7 @@ class TestTime < Test::Unit::TestCase
assert_equal(100000, Time.at(0.0001).nsec)
assert_equal(10000, Time.at(0.00001).nsec)
assert_equal(3000, Time.at(0.000003).nsec)
+ assert_equal(200, Time.at(0.0000002r).nsec)
assert_equal(199, Time.at(0.0000002).nsec)
assert_equal(10, Time.at(0.00000001).nsec)
assert_equal(1, Time.at(0.000000001).nsec)