From f35ee582b350b8dd5b731a6e937955cc4632508b Mon Sep 17 00:00:00 2001 From: NotFound Date: Tue, 30 Nov 2010 16:47:17 +0100 Subject: [PATCH] fix and unTODO a json test after chekcing that the reason failing was not valid --- t/compilers/data_json/to_parrot.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/t/compilers/data_json/to_parrot.t b/t/compilers/data_json/to_parrot.t index a1c6a9bdbe..16272c19c6 100644 --- a/t/compilers/data_json/to_parrot.t +++ b/t/compilers/data_json/to_parrot.t @@ -614,8 +614,10 @@ JSON } OUT +# Note that the original example has a trailig zero in a floating point value, +# but we shouldn't check that the processed output match that. json_dump_is( - <<'JSON', <<'OUT', 'another example taken from the RFC', todo => 'check number precision' ); + <<'JSON', <<'OUT', 'another example taken from the RFC' ); [{"precision":"zip","Latitude":37.7668,"Longitude":-122.3959,"Address":"","City":"SAN FRANCISCO","State":"CA","Zip":"94107","Country":"US"},{"precision":"zip","Latitude":37.371991,"Longitude":-122.026020,"Address":"","City":"SUNNYVALE", "State":"CA", "Zip":"94085", "Country":"US"}] JSON "JSON" => ResizablePMCArray (size:2) [ @@ -634,7 +636,7 @@ JSON "City" => "SUNNYVALE", "Country" => "US", "Latitude" => 37.371991, - "Longitude" => -122.026020, + "Longitude" => -122.02602, "State" => "CA", "Zip" => "94085", "precision" => "zip"