summaryrefslogtreecommitdiffstatshomepage
path: root/unix/coverage.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/coverage.c')
-rw-r--r--unix/coverage.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/unix/coverage.c b/unix/coverage.c
index eabd0097d7..1f52d9cf82 100644
--- a/unix/coverage.c
+++ b/unix/coverage.c
@@ -75,6 +75,14 @@ STATIC mp_obj_t extra_coverage(void) {
printf("\n");
}
+ // str
+ {
+ printf("# str\n");
+
+ // intern string
+ printf("%d\n", MP_OBJ_IS_QSTR(mp_obj_str_intern(mp_obj_new_str("intern me", 9, false))));
+ }
+
return mp_const_none;
}
MP_DEFINE_CONST_FUN_OBJ_0(extra_coverage_obj, extra_coverage);