From b54b03d04fc19d18e079ee759730298e2ecd63fd Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Fri, 21 Apr 2023 21:36:18 +0800 Subject: 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 --- tests/misc/tspellsuggest2.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/misc/tspellsuggest2.nim b/tests/misc/tspellsuggest2.nim index bf76cc208..d20fb00dc 100644 --- a/tests/misc/tspellsuggest2.nim +++ b/tests/misc/tspellsuggest2.nim @@ -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' -- cgit 1.4.1-2-gfad0