diff options
Diffstat (limited to 'source/test')
-rw-r--r-- | source/test/unittests/string_ref.test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/test/unittests/string_ref.test.c b/source/test/unittests/string_ref.test.c index b89459e..7c49996 100644 --- a/source/test/unittests/string_ref.test.c +++ b/source/test/unittests/string_ref.test.c @@ -15,3 +15,8 @@ TEST("static string wrap") { REQUIRE(ref.values[5] == 'a'); REQUIRE(ref.values[6] == 'r'); } + +TEST("string literal") { + SZ(foo, "foo"); + str_t bar = foo; +} |