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:
Julian Berman
2014-04-13 19:07:59 -04:00
parent 7496cb3675
commit 161f3078ba
5 changed files with 24 additions and 0 deletions

View File

@@ -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.

View File

@@ -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
} }
] ]
} }

View File

@@ -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
} }
] ]
} }

View File

@@ -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
} }
] ]
} }

View File

@@ -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
} }
] ]
} }