Skip to content

Commit

Permalink
nim-bindings: lift restriction of yaml test on Nim v2.x (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
jangko authored May 28, 2024
1 parent 5b35b61 commit b870532
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
3 changes: 3 additions & 0 deletions bindings/nim/config.nims
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
when fileExists("nimble.paths"):
include "nimble.paths"

import strutils
from os import DirSep

Expand Down
13 changes: 2 additions & 11 deletions bindings/nim/tests/test_all.nim
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b870532

Please sign in to comment.