Instead of fixed string, enable using printf like formatting for initialization of a string.

This commit is contained in:
Patrick Pelissier committed 2018-09-02 11:05:27 +02:00
1 parent ad5c141a7c
commit 79d0452427
2 files changed
+6 -5

No files matched your search

+3
View File
@@ -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)