diff options
| author | Damien George | 2015-09-03 23:06:18 +0100 |
|---|---|---|
| committer | Damien George | 2015-09-03 23:06:18 +0100 |
| commit | 25afc7da0db43754f6b4373a10b66551dd3cbd57 (patch) | |
| tree | e2e116af73a03aaf6e11b4b0065e5f73eb6a91af /tests/extmod | |
| parent | e2aa1177986d11cbd19ab84ca41b6f0dce51ad01 (diff) | |
tests: Add tests to improve coverage of objstr.c.
Diffstat (limited to 'tests/extmod')
| -rw-r--r-- | tests/extmod/ujson_dumps_extra.py | 5 | ||||
| -rw-r--r-- | tests/extmod/ujson_dumps_extra.py.exp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/extmod/ujson_dumps_extra.py b/tests/extmod/ujson_dumps_extra.py new file mode 100644 index 000000000..0e593c3e9 --- /dev/null +++ b/tests/extmod/ujson_dumps_extra.py @@ -0,0 +1,5 @@ +# test uPy ujson behaviour that's not valid in CPy + +import ujson + +print(ujson.dumps(b'1234')) diff --git a/tests/extmod/ujson_dumps_extra.py.exp b/tests/extmod/ujson_dumps_extra.py.exp new file mode 100644 index 000000000..51712af1b --- /dev/null +++ b/tests/extmod/ujson_dumps_extra.py.exp @@ -0,0 +1 @@ +"1234" |
