diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-03-18 05:26:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 13:26:45 +0100 |
commit | 9d4d27a3ce6f7291be57554e059a03a746be7296 (patch) | |
tree | 2f1dc08a735f6543a03d322d79254a8f68f9a1d2 /tests/misc/tspellsuggest.nim | |
parent | 2356d0603f70cad90f76fa57999054bf5c0a9157 (diff) | |
download | Nim-9d4d27a3ce6f7291be57554e059a03a746be7296.tar.gz |
adjust spellSuggestSecretSauce logic to avoid too many matches for small symbols (#17410)
Diffstat (limited to 'tests/misc/tspellsuggest.nim')
-rw-r--r-- | tests/misc/tspellsuggest.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/tspellsuggest.nim b/tests/misc/tspellsuggest.nim index 938be3460..033ed0afc 100644 --- a/tests/misc/tspellsuggest.nim +++ b/tests/misc/tspellsuggest.nim @@ -4,7 +4,7 @@ discard """ action: "reject" nimout: ''' tspellsuggest.nim(45, 13) Error: undeclared identifier: 'fooBar' -candidate misspellings (edit distance, lexical scope distance): +candidates (edit distance, scope distance); see '--spellSuggest': (1, 0): 'fooBar8' [var declared in tspellsuggest.nim(43, 9)] (1, 1): 'fooBar7' [var declared in tspellsuggest.nim(41, 7)] (1, 3): 'fooBar1' [var declared in tspellsuggest.nim(33, 5)] |