diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-15 00:01:06 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-15 00:01:06 +0400 |
commit | 692f78ed03069a573cd893e191cbbf933289ddc7 (patch) | |
tree | fc0ab0ecda9d91a179981677bf53eff2f550d4f2 /source/test/unittests | |
parent | 400ea79a6b5aab8ff200bf65fddba88065623903 (diff) | |
download | kit-692f78ed03069a573cd893e191cbbf933289ddc7.zip |
SZ fix
Diffstat (limited to 'source/test/unittests')
-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; +} |