From: Nikos Mavrogiannopoulos Date: Fri, 25 Nov 2016 12:11:44 +0000 (+0100) Subject: tests: fixed str-unicode tests with control characters X-Git-Tag: gnutls_3_5_7~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323ffbfb692369d549e7ca2ef9e1440418fa1d27;p=thirdparty%2Fgnutls.git tests: fixed str-unicode tests with control characters --- diff --git a/tests/str-unicode.c b/tests/str-unicode.c index 67c6113a37..344a820952 100644 --- a/tests/str-unicode.c +++ b/tests/str-unicode.c @@ -66,12 +66,12 @@ MATCH_FUNC(test_capitals, "Correct Horse Battery Staple", "Correct Horse Battery MATCH_FUNC(test_multilang, "\xCF\x80\xC3\x9F\xC3\xA5", "πßå"); MATCH_FUNC(test_special_char, "\x4A\x61\x63\x6B\x20\x6F\x66\x20\xE2\x99\xA6\x73", "Jack of ♦s"); MATCH_FUNC(test_space_replacement, "foo bar", "foo bar"); -MATCH_FUNC(test_invalid, "my cat is a \x09by", NULL); +MATCH_FUNC(test_invalid, "my cat is a \x09 by", NULL); MATCH_FUNC(test_normalization1, "char \x49\xCC\x87", "char \xC4\xB0"); INVALID_MATCH_FUNC(test_ascii, "correct horse battery staple", "correct horse battery staple"); INVALID_MATCH_FUNC(test_special_char, "\x4A\x61\x63\x6B\x20\x6F\x66\x20\xE2\x99\xA6\x73", "Jack of ♦s"); -INVALID_MATCH_FUNC(test_invalid, "my cat is a \x09by", "my cat is a \x09by"); +INVALID_MATCH_FUNC(test_invalid, "my cat is a \x09 by", "my cat is a \x09 by"); int main(void) {