nim-bindings: lift restriction of yaml test on Nim v2.x (#431)

This commit is contained in:
andri lim 2024-05-29 01:49:23 +07:00 committed by GitHub
parent 5b35b6147b
commit b87053224e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 11 deletions

View File

@ -1,3 +1,6 @@
when fileExists("nimble.paths"):
include "nimble.paths"
import strutils
from os import DirSep

View File

@ -1,14 +1,5 @@
import
test_abi,
test_kzg,
test_kzg_ex
when (NimMajor, NimMinor) >= (1, 4) and
(NimMajor, NimMinor) <= (1, 6):
# nim devel causes shallowCopy error
# on yaml
import
test_yaml
else:
{.warning: "test_yaml skipped because Nim version " &
$NimMajor & "." & $NimMinor & " currently not supported.".}
test_kzg_ex,
test_yaml