-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nim-bindings: lift restriction of yaml test on Nim v2.x (#431)
- Loading branch information
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |