diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-09-03 14:41:10 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-09-03 23:38:37 +0900 |
| commit | 837d74104cf9339a344cf9f33016aa73b2c51e72 (patch) | |
| tree | 343f75c811557cd42b3c4b6489adee8af1dd4baf /spec/ruby | |
| parent | 9af5af2c7d97e9563818ecc422ad6c1ff5db3ac1 (diff) | |
Use Time.new because JSON.unsafe_load losts fractions of a second and
JSON.unsafe_load with Time object returns String
```
1) Failure:
JSONCommonInterfaceTest#test_unsafe_load_default_options [/path/to/ruby/test/json/json_common_interface_test.rb:230]:
<2025-09-03 14:28:31.293635 +0200> expected but was
<"2025-09-03 14:28:31 +0200">.
```
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
