diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-01-07 17:51:11 +0000 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-01-09 00:14:27 -0800 |
commit | b1530545d259c144770bd8fd7881cb16160c0afc (patch) | |
tree | 69d2e3e7bce61763966e87647234d92b7fbac256 /activesupport/test/json | |
parent | 84e6ad3fb9d6a1ba3b71b058e19388de5c67a07f (diff) | |
download | rails-b1530545d259c144770bd8fd7881cb16160c0afc.tar.gz rails-b1530545d259c144770bd8fd7881cb16160c0afc.tar.bz2 rails-b1530545d259c144770bd8fd7881cb16160c0afc.zip |
Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonathan del Strother]
Diffstat (limited to 'activesupport/test/json')
-rw-r--r-- | activesupport/test/json/decoding_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/test/json/decoding_test.rb b/activesupport/test/json/decoding_test.rb index 19ae3a01a8..558b03b90d 100644 --- a/activesupport/test/json/decoding_test.rb +++ b/activesupport/test/json/decoding_test.rb @@ -15,7 +15,8 @@ class TestJSONDecoding < Test::Unit::TestCase # no time zone %({a: "2007-01-01 01:12:34"}) => {'a' => "2007-01-01 01:12:34"}, # needs to be *exact* - %({a: " 2007-01-01 01:12:34 Z "}) => {'a' => " 2007-01-01 01:12:34 Z "}, + %({a: " 2007-01-01 01:12:34 Z "}) => {'a' => " 2007-01-01 01:12:34 Z "}, + %({a: "2007-01-01 : it's your birthday"}) => {'a' => "2007-01-01 : it's your birthday"}, %([]) => [], %({}) => {}, %(1) => 1, |