spellcheck.c: add test_find_closest_string
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 7 Jun 2016 17:33:04 +0000 (17:33 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 7 Jun 2016 17:33:04 +0000 (17:33 +0000)
commit484b59c4826e53507c91291042393160f26d8c71
treeac0ddf3e815b120450e7181956aa014f1cc2933f
parente10183dce1d15ab1ca0232f9d5aebffbe7e75728
spellcheck.c: add test_find_closest_string

gcc/ChangeLog:
* spellcheck.c (selftest::test_find_closest_string): New function.
(spellcheck_c_tests): Call the above.

From-SVN: r237181
gcc/ChangeLog
gcc/spellcheck.c