The variant of editing distance we use doesn't satisfy the triangle inequality.
authorPip Cet <pipcet@gmail.com>
Wed, 1 Jul 2020 20:58:52 +0000 (14:58 -0600)
committerJeff Law <law@redhat.com>
Wed, 1 Jul 2020 20:59:56 +0000 (14:59 -0600)
commit34127f4adaf6ed8d39ee1a65aaef7f62dd67c5a9
tree058d2f3ab60b49054782dca8da7046dbada504af
parentbe7c41a556464680b17a2c3d5d099ec56a2c223e
The variant of editing distance we use doesn't satisfy the triangle inequality.

gcc

* spellcheck.c (test_data): Add problematic strings.
(test_metric_conditions): Don't test the triangle inequality
condition, which our distance function does not satisfy.
gcc/spellcheck.c