diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2019-09-27 06:02:54 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-09-27 07:02:54 +0200 |
commit | 39290cf88c5047e86dc4894e3190c63d5985f56f (patch) | |
tree | f37c9e0a5491fb9b11266ce08bddc297b57f37fc /tests/astspec | |
parent | 9dd297f613768bb170e05dcaf361015d9448c582 (diff) | |
download | Nim-39290cf88c5047e86dc4894e3190c63d5985f56f.tar.gz |
Fix spellings (#12277) [backport]
Diffstat (limited to 'tests/astspec')
-rw-r--r-- | tests/astspec/tastspec.nim | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |