]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/zeroTerminatedFloats.json
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / s3select / rapidjson / bin / jsonschema / tests / draft3 / optional / zeroTerminatedFloats.json
diff --git a/ceph/src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/zeroTerminatedFloats.json b/ceph/src/s3select/rapidjson/bin/jsonschema/tests/draft3/optional/zeroTerminatedFloats.json
new file mode 100644 (file)
index 0000000..9b50ea2
--- /dev/null
@@ -0,0 +1,15 @@
+[
+    {
+        "description": "some languages do not distinguish between different types of numeric value",
+        "schema": {
+            "type": "integer"
+        },
+        "tests": [
+            {
+                "description": "a float is not an integer even without fractional part",
+                "data": 1.0,
+                "valid": false
+            }
+        ]
+    }
+]