summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2012-12-30 19:51:17 -0800
committerBob Ippolito <bob@redivi.com>2012-12-30 19:51:17 -0800
commit2d570bafc496f236f2b4a919931023cb1be6b8b7 (patch)
tree74761f2f4b799df74aa8be20f714d6ee97fc0a1a
parentf8cdf39583e2400e5f461ab85459d4d21807a4a0 (diff)
downloadsimplejson-2d570bafc496f236f2b4a919931023cb1be6b8b7.tar.gz
more coverage
-rw-r--r--simplejson/tests/test_fail.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/simplejson/tests/test_fail.py b/simplejson/tests/test_fail.py
index d388f19..8d281b7 100644
--- a/simplejson/tests/test_fail.py
+++ b/simplejson/tests/test_fail.py
@@ -55,6 +55,31 @@ JSONDOCS = [
"['single quote']",
# http://code.google.com/p/simplejson/issues/detail?id=3
u'["A\u001FZ control characters in string"]',
+ # misc based on coverage
+ '{',
+ '{]',
+ '{"foo": "bar"]',
+ '{"foo": "bar"',
+ 'nul',
+ 'nulx',
+ '-',
+ '-x',
+ '-e',
+ '-e0',
+ '-Infinite',
+ '-Inf',
+ 'Infinit',
+ 'Infinite',
+ 'NaM',
+ 'NuN',
+ 'falsy',
+ 'fal',
+ 'trug',
+ 'tru',
+ '1e',
+ '1ex',
+ '1e-',
+ '1e-x',
]
SKIPS = {