diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-12-02 15:55:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 15:55:57 +0900 |
commit | 431317d964ba549fd4a77ea5e338d478dc7fe098 (patch) | |
tree | 88c272ea4a29fc409e4cb23dc7f65cf13fccbb4f | |
parent | 2db5894cfa7322b00e24ad21a76ea584b0b22f5a (diff) | |
parent | b1007dff664194ca0e800bd158e94456c5ab202a (diff) | |
download | json-431317d964ba549fd4a77ea5e338d478dc7fe098.tar.gz |
Merge pull request #488 from headius/bad_datetime_parse_keyword
Remove unknown keyword arg from DateTime.parse
-rw-r--r-- | tests/json_addition_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json_addition_test.rb b/tests/json_addition_test.rb index e95ace8..614c735 100644 --- a/tests/json_addition_test.rb +++ b/tests/json_addition_test.rb @@ -165,7 +165,7 @@ class JSONAdditionTest < Test::Unit::TestCase def test_utc_datetime now = Time.now - d = DateTime.parse(now.to_s, :create_additions => true) # usual case + d = DateTime.parse(now.to_s) # usual case assert_equal d, parse(d.to_json, :create_additions => true) d = DateTime.parse(now.utc.to_s) # of = 0 assert_equal d, parse(d.to_json, :create_additions => true) |