mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Style: adds Cpp11BracedListStyle: Block
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
static void verify(const char* format, const char* arg, const char* expected, int lineNo) {
|
||||
FF_STRBUF_AUTO_DESTROY result = ffStrbufCreate();
|
||||
FF_STRBUF_AUTO_DESTROY formatter = ffStrbufCreateStatic(format);
|
||||
const FFformatarg arguments[] = {{.type = FF_ARG_TYPE_STRING, arg}};
|
||||
const FFformatarg arguments[] = { { .type = FF_ARG_TYPE_STRING, arg } };
|
||||
ffParseFormatString(&result, &formatter, 1, arguments);
|
||||
if (!ffStrbufEqualS(&result, expected)) {
|
||||
fprintf(stderr, FASTFETCH_TEXT_MODIFIER_ERROR "[%d] %s: expected \"%s\", got \"%s\"\n" FASTFETCH_TEXT_MODIFIER_RESET, lineNo, format, expected, result.chars);
|
||||
|
||||
Reference in New Issue
Block a user