diff options
Diffstat (limited to 'test/ruby/test_time.rb')
-rw-r--r-- | test/ruby/test_time.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index 38c1af6901..2bf6056a49 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -1426,4 +1426,8 @@ class TestTime < Test::Unit::TestCase t.deconstruct_keys(%i[year month sec nonexistent]) ) end + + def test_parse_zero_bigint + assert_equal 0, Time.new("2020-10-28T16:48:07.000Z").nsec, '[Bug #19390]' + end end |