Ensure that tests run on Nim 1.2.x

This commit is contained in:
Mark Spanbroek 2022-01-26 14:37:09 +01:00
parent 9eee20e49d
commit 062b367f32
2 changed files with 3 additions and 2 deletions

3
testmodule/config.nims Normal file
View File

@ -0,0 +1,3 @@
switch("path", "..")
when (NimMajor, NimMinor) >= (1, 4):
switch("hint", "XCannotRaiseY:off")

View File

@ -1,2 +0,0 @@
--path:".."
--hint[XCannotRaiseY]:"off"