diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-15 15:33:34 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-15 15:33:34 +0000 |
commit | c2e082742115ca6860d3f55509d86a15db0b9a96 (patch) | |
tree | 868ad75a0a080d6266957a43282c36a2dddce4ed /test/ruby | |
parent | 1073e5d0977cbe225d2c9e5eba900b05de984cf0 (diff) | |
download | ruby-c2e082742115ca6860d3f55509d86a15db0b9a96.tar.gz |
add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_time.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index cfbf42d6f6..97a5ce7bdf 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) |