tweak spellsuggest; three counts for equal distances candidates by default (#21700)

* tweak spellsuggest; three counts for equal distances candidates

* only suggest typos when length > 3
This commit is contained in:
ringabout
2023-04-21 21:36:18 +08:00
committed by GitHub
parent 175a83c2de
commit b54b03d04f
2 changed files with 4 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
discard """
# pending bug #16521 (bug 12) use `matrix`
cmd: "nim c --spellsuggest --hints:off $file"
cmd: "nim c --spellsuggest:12 --hints:off $file"
action: "reject"
nimout: '''
tspellsuggest2.nim(45, 13) Error: undeclared identifier: 'fooBar'