pantoniou / libfyaml

Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
MIT License
239 stars 73 forks source link

1 test fails: FAIL: testsuite-json.test 256 UGM3 - Spec Example 2.27. Invoice (JSON) #103

Open yurivict opened 6 months ago

yurivict commented 6 months ago
--- /tmp/tmp.kQmJPzbvF2 2024-01-05 01:14:36.804055000 -0800
+++ /tmp/tmp.kgsSSditcM 2024-01-05 01:14:36.809573000 -0800 
@@ -15,13 +15,13 @@
   "product": [
     {
       "description": "Basketball", 
-      "price": 450.00,
+      "price": 450,
       "quantity": 4,
       "sku": "BL394D"
     },
     {
       "description": "Super Hoop",
-      "price": 2392.00,
+      "price": 2392, 
       "quantity": 1,
       "sku": "BL4438H"
     }
not ok 256 UGM3 - Spec Example 2.27. Invoice (JSON)
FAIL: testsuite-json.test 256 UGM3 - Spec Example 2.27. Invoice (JSON)

Version: 0.9 FreeBSD 14.0

pantoniou commented 1 month ago

Yeah, this is well known and won't be fixed for a while until the yaml schema changes land in master...

Leaving open for that reason.