From d47073de04f706c9d044b0fad694e5936dabc207 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Tue, 3 May 2011 23:06:19 +0000 Subject: * ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so that Syck can load UTC times that Psych dumps. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/psych/json/test_stream.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/psych/json') diff --git a/test/psych/json/test_stream.rb b/test/psych/json/test_stream.rb index 0af64c1885..4690ad2f1e 100644 --- a/test/psych/json/test_stream.rb +++ b/test/psych/json/test_stream.rb @@ -95,7 +95,7 @@ module Psych time = Time.utc(2010, 10, 10) @stream.push({'a' => time }) json = @io.string - assert_match "{\"a\": \"2010-10-10 00:00:00.000000000Z\"}\n", json + assert_match "{\"a\": \"2010-10-10 00:00:00.000000000 Z\"}\n", json end def test_datetime -- cgit v1.2.3