mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests/unix/extra_coverage: Add test for mp_vprintf with bad fmt spec.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user