tspellsuggest3.nim 455 B

12345678910111213141516171819202122
  1. discard """
  2. # pending bug #16521 (bug 12) use `matrix`
  3. cmd: "nim c --spellsuggest:4 --hints:off $file"
  4. action: "reject"
  5. nimout: '''
  6. tspellsuggest3.nim(21, 1) Error: undeclared identifier: 'fooBar'
  7. candidates (edit distance, scope distance); see '--spellSuggest':
  8. (1, 2): 'FooBar'
  9. (1, 2): 'fooBar4'
  10. (1, 2): 'fooBar9'
  11. (1, 2): 'fooCar'
  12. '''
  13. """
  14. import ./mspellsuggest
  15. import ./mspellsuggest
  16. import ./mspellsuggest
  17. import ./mspellsuggest
  18. fooBar