Squashed 'json/' changes from 0ba6722..ddef9b0
ddef9b0 Add a note to the README about running sanity checks. f93cc55 Shorten the descriptions slightly. dd9a876 Merge remote-tracking branch 'fge/develop' into develop bc84af3 Add string length tests for supplementary Unicode code points git-subtree-dir: json git-subtree-split: ddef9b0415461ca948f3c0605e2eb2cc40981b95
This commit is contained in:
@@ -83,3 +83,7 @@ Contributing
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
If you see something missing or incorrect, a pull request is most welcome!
|
If you see something missing or incorrect, a pull request is most welcome!
|
||||||
|
|
||||||
|
There are some sanity checks in place for testing the test suite. You can run
|
||||||
|
them with `bin/jsonschema_suite check`. They will be run automatically by
|
||||||
|
[Travis CI](https://travis-ci.org/) as well.
|
||||||
|
@@ -22,6 +22,11 @@
|
|||||||
"description": "ignores non-strings",
|
"description": "ignores non-strings",
|
||||||
"data": 10,
|
"data": 10,
|
||||||
"valid": true
|
"valid": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "two supplementary Unicode code points is long enough",
|
||||||
|
"data": "\uD83D\uDCA9\uD83D\uDCA9",
|
||||||
|
"valid": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -22,6 +22,11 @@
|
|||||||
"description": "ignores non-strings",
|
"description": "ignores non-strings",
|
||||||
"data": 1,
|
"data": 1,
|
||||||
"valid": true
|
"valid": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "one supplementary Unicode code point is not long enough",
|
||||||
|
"data": "\uD83D\uDCA9",
|
||||||
|
"valid": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -22,6 +22,11 @@
|
|||||||
"description": "ignores non-strings",
|
"description": "ignores non-strings",
|
||||||
"data": 10,
|
"data": 10,
|
||||||
"valid": true
|
"valid": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "two supplementary Unicode code points is long enough",
|
||||||
|
"data": "\uD83D\uDCA9\uD83D\uDCA9",
|
||||||
|
"valid": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -22,6 +22,11 @@
|
|||||||
"description": "ignores non-strings",
|
"description": "ignores non-strings",
|
||||||
"data": 1,
|
"data": 1,
|
||||||
"valid": true
|
"valid": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "one supplementary Unicode code point is not long enough",
|
||||||
|
"data": "\uD83D\uDCA9",
|
||||||
|
"valid": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user