Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove test suite changes that slipped through.

  • Loading branch information...
commit 0a55cee2a26e4ca781a7ef9cfaa140f2d6ed136c 1 parent 112f3d6
Julian Berman authored
24 json/tests/draft3/optional/bignum.json
View
@@ -1,6 +1,6 @@
[
{
- "description": "support for bignums",
+ "description": "integer",
"schema": {"type": "integer"},
"tests": [
{
@@ -11,15 +11,23 @@
]
},
{
- "description": "float comparison with high precision",
- "schema": {
- "maximum": 972783798187987123879878123.18878137,
- "exclusiveMaximum": true
- },
+ "description": "number",
+ "schema": {"type": "number"},
"tests": [
{
- "description": "comparison works for high numbers",
- "data": 972783798187987123879878123.188781371,
+ "description": "a bignum is a number",
+ "data": 98249283749234923498293171823948729348710298301928331,
+ "valid": true
+ }
+ ]
+ },
+ {
+ "description": "string",
+ "schema": {"type": "string"},
+ "tests": [
+ {
+ "description": "a bignum is not a string",
+ "data": 98249283749234923498293171823948729348710298301928331,
"valid": false
}
]
18 json/tests/draft4/optional/jsregex.json
View
@@ -1,18 +0,0 @@
-[
- {
- "description": "ECMA 262 regex dialect recognition",
- "schema": { "format": "pattern" },
- "tests": [
- {
- "description": "[^] is a valid regex",
- "data": "[^]",
- "valid": true
- },
- {
- "description": "ECMA 262 has no support for lookbehind",
- "data": "(?<=foo)bar",
- "valid": false
- }
- ]
- }
-]
Please sign in to comment.
Something went wrong with that request. Please try again.