Skip to content

Commit

Permalink
check-spelling: add escaping to format string to pass spelling check
Browse files Browse the repository at this point in the history
  • Loading branch information
Payne-X6 committed Aug 28, 2024
1 parent c4c051e commit a673b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/contrib/test_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static void test_time_parse(void)
ret = knot_time_parse("+-#U", "-1h", &res);
test_time_parse_expect(ret, res, knot_time() - 3600, "hour");

ret = knot_time_parse("+-#u'nths'|+-#u'nutes'", "+1minutes", &res);
ret = knot_time_parse("+-#u\'nths\'|+-#u\'nutes\'", "+1minutes", &res);
test_time_parse_expect(ret, res, knot_time() + 60, "minute");
}

Expand Down

0 comments on commit a673b47

Please sign in to comment.