projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68da8ad
)
test: Use C11 UTF-16 string literal
author
Jan Janssen
<medhefgo@web.de>
Mon, 14 Mar 2022 09:32:48 +0000
(10:32 +0100)
committer
Jan Janssen
<medhefgo@web.de>
Wed, 16 Mar 2022 13:50:12 +0000
(14:50 +0100)
src/boot/efi/test-bcd.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/test-bcd.c
b/src/boot/efi/test-bcd.c
index 5d3d6c2c40751a2c122aa40f68bfd4ac4fe8033b..d04d1ee45a0b25f10ffa1d4426fa78a6859b92d7 100644
(file)
--- a/
src/boot/efi/test-bcd.c
+++ b/
src/boot/efi/test-bcd.c
@@
-39,8
+39,7
@@
static void test_get_bcd_title_one(
}
TEST(get_bcd_title) {
- const char16_t win10[] = { 'W', 'i', 'n', 'd', 'o', 'w', 's', ' ', '1', '0', '\0' };
- test_get_bcd_title_one("test-bcd/win10.bcd.zst", win10, sizeof(win10));
+ test_get_bcd_title_one("test-bcd/win10.bcd.zst", u"Windows 10", sizeof(u"Windows 10"));
test_get_bcd_title_one("test-bcd/description-bad-type.bcd.zst", NULL, 0);
test_get_bcd_title_one("test-bcd/description-empty.bcd.zst", NULL, 0);