Instead of fixed string, enable using printf like formatting for initialization of a string.
This commit is contained in:
1 parent
ad5c141a7c
commit
79d0452427
2 files changed
+6
-5
No files matched your search
@@ -36,6 +36,9 @@ static void test1(void)
|
||||
M_LET((s1,"OK"),string_t) {
|
||||
assert(string_equal_str_p(s1, "OK"));
|
||||
}
|
||||
M_LET((s1,"OK S=%d", 16),string_t) {
|
||||
assert(string_equal_str_p(s1, "OK S=16"));
|
||||
}
|
||||
}
|
||||
|
||||
static void test_utf8_basic(void)
|
||||
|
||||
Reference in new issue
Block a user