From a673b471d9d5f2b90baf43e13ba42ce094d279ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=A1k?= Date: Wed, 28 Aug 2024 10:11:04 +0200 Subject: [PATCH] check-spelling: add escaping to format string to pass spelling check --- tests/contrib/test_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/contrib/test_time.c b/tests/contrib/test_time.c index 84518f2db3..25eb95615c 100644 --- a/tests/contrib/test_time.c +++ b/tests/contrib/test_time.c @@ -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"); }