mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 09:58:03 +02:00
Common (strutil): fixes unit tests
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ int main(void) {
|
||||
uint8_t width = 0;
|
||||
uint8_t bytes = ffUtf8CharLenWidth(emoji, 4, &width);
|
||||
VERIFY(bytes == 4);
|
||||
VERIFY(width == 2); // Most emoji are double-width
|
||||
VERIFY(width == mk_wcwidth(0x1F600));
|
||||
}
|
||||
|
||||
puts("\033[32mAll tests passed!" FASTFETCH_TEXT_MODIFIER_RESET);
|
||||
|
||||
Reference in New Issue
Block a user