From 39290cf88c5047e86dc4894e3190c63d5985f56f Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Fri, 27 Sep 2019 06:02:54 +0100 Subject: Fix spellings (#12277) [backport] --- nimsuggest/nimsuggest.nim | 2 +- nimsuggest/tester.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nimsuggest') diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim index 1a60c3fb6..af87c9e7f 100644 --- a/nimsuggest/nimsuggest.nim +++ b/nimsuggest/nimsuggest.nim @@ -13,7 +13,7 @@ when not defined(nimcore): {.error: "nimcore MUST be defined for Nim's core tooling".} import strutils, os, parseopt, parseutils, sequtils, net, rdstdin, sexp -# Do NOT import suggest. It will lead to wierd bugs with +# Do NOT import suggest. It will lead to weird bugs with # suggestionResultHook, because suggest.nim is included by sigmatch. # So we import that one instead. import compiler / [options, commands, modules, sem, diff --git a/nimsuggest/tester.nim b/nimsuggest/tester.nim index 21292367b..d0870347e 100644 --- a/nimsuggest/tester.nim +++ b/nimsuggest/tester.nim @@ -140,7 +140,7 @@ proc runCmd(cmd, dest: string): bool = of "!del": del(x) else: - quit "unkown command: " & cmd + quit "unknown command: " & cmd proc smartCompare(pattern, x: string): bool = if pattern.contains('*'): -- cgit 1.4.1-2-gfad0