summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-04-21 21:36:18 +0800
committerGitHub <noreply@github.com>2023-04-21 15:36:18 +0200
commitb54b03d04fc19d18e079ee759730298e2ecd63fd (patch)
treef0d4507eae539611a425cfc3298f910b51e270bc /tests
parent175a83c2de436b0e84f232fd44d264fb2c79fb14 (diff)
downloadNim-b54b03d04fc19d18e079ee759730298e2ecd63fd.tar.gz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/tspellsuggest2.nim2
1 files changed, 1 insertions, 1 deletions
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'