[PATCH] Fix spellcheck test data
Jakub Jelinek
jakub@redhat.com
Mon Feb 13 19:49:00 GMT 2017
Hi!
Not really sure about this, but I'd expect if you meant to write
"foofood",
you'd have written it that way and not
"foo"
"food",
Passes -fself-test either way, bootstrapped/regtested on x86_64-linux and
i686-linux, ok for trunk?
2017-02-13 Jakub Jelinek <jakub@redhat.com>
* spellcheck.c (test_data): Add , in between "foo" and "food".
--- gcc/spellcheck.c.jj 2017-01-01 12:45:35.000000000 +0100
+++ gcc/spellcheck.c 2017-02-13 11:34:22.352425744 +0100
@@ -221,7 +221,7 @@ test_find_closest_string ()
static const char * const test_data[] = {
"",
- "foo"
+ "foo",
"food",
"boo",
"1234567890123456789012345678901234567890123456789012345678901234567890"
Jakub
More information about the Gcc-patches
mailing list