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] --- tests/astspec/tastspec.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/astspec') diff --git a/tests/astspec/tastspec.nim b/tests/astspec/tastspec.nim index f9e35804d..e2cfed277 100644 --- a/tests/astspec/tastspec.nim +++ b/tests/astspec/tastspec.nim @@ -2,7 +2,7 @@ discard """ action: compile """ -# this test should ensure that the AST doesn't change slighly without it getting noticed. +# this test should ensure that the AST doesn't change slightly without it getting noticed. import ../ast_pattern_matching @@ -12,7 +12,7 @@ template expectNimNode(arg: untyped): NimNode = arg ## type `NimNode`. proc substitudeComments(symbols, values, n: NimNode): NimNode = - ## substitudes all nodes of kind nnkCommentStmt to parameter + ## substitutes all nodes of kind nnkCommentStmt to parameter ## symbols. Consumes the argument `n`. if n.kind == nnkCommentStmt: values.add newCall(bindSym"newCommentStmtNode", newLit(n.strVal)) -- cgit 1.4.1-2-gfad0