mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-01 09:31:18 +00:00
some test cleanups & category reorganization (#22010)
* clean up some test categories * mention exact slice issue * magics into system * move trangechecks into overflow * move tmemory to system * try fix CI * try fix CI * final CI fix
This commit is contained in:
13
tests/errmsgs/tmacroerrorproc.nim
Normal file
13
tests/errmsgs/tmacroerrorproc.nim
Normal file
@@ -0,0 +1,13 @@
|
||||
discard """
|
||||
errormsg: "Expected a node of kind nnkCharLit, got nnkCommand"
|
||||
file: "tmacroerrorproc.nim"
|
||||
line: 13
|
||||
"""
|
||||
# issue #4915
|
||||
import macros
|
||||
|
||||
macro mixer(n: typed): untyped =
|
||||
expectKind(n[0], nnkCharLit)
|
||||
|
||||
mixer:
|
||||
echo "owh"
|
||||
Reference in New Issue
Block a user