test_precompiles: fix enum case

This fixes compilation with Nim-1.4.2.
This commit is contained in:
Ștefan Talpalaru 2020-12-08 17:44:39 +01:00
parent de12fb3c94
commit 5e17bd5e16
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ template doTest(fixture: JsonNode, fork: Fork, address: PrecompileAddresses): un
proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) = proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
let let
label = fixtures["func"].getStr label = fixtures["func"].getStr
fork = parseEnum[Fork](fixtures["fork"].getStr) fork = parseEnum[Fork](fixtures["fork"].getStr.toLowerAscii)
data = fixtures["data"] data = fixtures["data"]
case toLowerAscii(label) case toLowerAscii(label)