diff options
author | Damien George <damien.p.george@gmail.com> | 2017-06-30 12:25:42 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-30 12:25:42 +1000 |
commit | 369e7fd178ae5ac98aad381c95a28e58d29c068c (patch) | |
tree | 9b8921399e9a746434bf97a4b22d41dca130c7a2 /unix/coverage.c | |
parent | adf22c19aee53222b116928581b4d4a009d3af55 (diff) | |
download | micropython-369e7fd178ae5ac98aad381c95a28e58d29c068c.tar.gz micropython-369e7fd178ae5ac98aad381c95a28e58d29c068c.zip |
tests/unix/extra_coverage: Add test for mp_vprintf with bad fmt spec.
Diffstat (limited to 'unix/coverage.c')
-rw-r--r-- | unix/coverage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/coverage.c b/unix/coverage.c index 09959525a0..8391cd08be 100644 --- a/unix/coverage.c +++ b/unix/coverage.c @@ -154,6 +154,7 @@ STATIC mp_obj_t extra_coverage(void) { mp_printf(&mp_plat_print, "%u\n", 0x80000000); // should print unsigned mp_printf(&mp_plat_print, "%x\n", 0x80000000); // should print unsigned mp_printf(&mp_plat_print, "%X\n", 0x80000000); // should print unsigned + mp_printf(&mp_plat_print, "abc\n%"); // string ends in middle of format specifier } // vstr |