support useVersion:1.6 (#19601)

This commit is contained in:
flywind 2022-03-11 00:01:27 +08:00 • committed by GitHub
commit 4c76f9f152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 57 additions and 9 deletions

View file

@ -1,6 +1,5 @@
discard """
cmd: "nim c --useVersion:1.0 -r $file"
output: "1.0.100"
matrix: "--useVersion:1.0"
"""
{.warning[UnusedImport]: off.}
@ -47,4 +46,4 @@ import std/[
]
echo NimVersion
doAssert NimVersion == "1.0.100"