Skip to content

Commit

Permalink
fix and unTODO a json test after chekcing that the reason failing was…
Browse files Browse the repository at this point in the history
… not valid
  • Loading branch information
NotFound committed Nov 30, 2010
1 parent e483ba1 commit f35ee58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/compilers/data_json/to_parrot.t
Expand Up @@ -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) [
Expand All @@ -634,7 +636,7 @@ JSON
"City" => "SUNNYVALE",
"Country" => "US",
"Latitude" => 37.371991,
"Longitude" => -122.026020,
"Longitude" => -122.02602,
"State" => "CA",
"Zip" => "94085",
"precision" => "zip"
Expand Down

0 comments on commit f35ee58

Please sign in to comment.