test_precompiles: fix enum case
This fixes compilation with Nim-1.4.2.
This commit is contained in:
parent
de12fb3c94
commit
5e17bd5e16
|
@ -65,7 +65,7 @@ template doTest(fixture: JsonNode, fork: Fork, address: PrecompileAddresses): un
|
|||
proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
|
||||
let
|
||||
label = fixtures["func"].getStr
|
||||
fork = parseEnum[Fork](fixtures["fork"].getStr)
|
||||
fork = parseEnum[Fork](fixtures["fork"].getStr.toLowerAscii)
|
||||
data = fixtures["data"]
|
||||
|
||||
case toLowerAscii(label)
|
||||
|
|
Loading…
Reference in New Issue