]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: fixed str-unicode tests with control characters
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 25 Nov 2016 12:11:44 +0000 (13:11 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 28 Nov 2016 11:47:53 +0000 (12:47 +0100)
tests/str-unicode.c

index 67c6113a37387a121b7e6a847f0efe310cdfd13a..344a820952f96becab4136fd44b2f7a2a96f3537 100644 (file)
@@ -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)
 {