[PATCH] Fix spellcheck test data
David Malcolm
dmalcolm@redhat.com
Mon Feb 13 19:56:00 GMT 2017
On Mon, 2017-02-13 at 20:47 +0100, Jakub Jelinek wrote:
> 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?
Oops, yes, this was a mistake.
> 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",
>
> "1234567890123456789012345678901234567890123456789012345678901234567
> 890"
>
> Jakub
More information about the Gcc-patches
mailing list