summaryrefslogtreecommitdiff
path: root/tests/test_json_addition.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_json_addition.rb')
-rwxr-xr-xtests/test_json_addition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_json_addition.rb b/tests/test_json_addition.rb
index b9cc6d1..49ff437 100755
--- a/tests/test_json_addition.rb
+++ b/tests/test_json_addition.rb
@@ -129,7 +129,7 @@ class TC_JSONAddition < Test::Unit::TestCase
def test_core
t = Time.now
- assert_equal t.inspect, JSON(JSON(t)).inspect
+ assert_equal t, JSON(JSON(t))
d = Date.today
assert_equal d, JSON(JSON(d))
d = DateTime.civil(2007, 6, 14, 14, 57, 10, Rational(1, 12), 2299161)