Skip to content

Commit

Permalink
fixes test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgomez committed Nov 20, 2024
1 parent e165777 commit 74062c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tsat.nim
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ suite "SAT solver":
"https://nim-lang.org/nimble/packages.json"
])
let pv = parseRequires("nimfp >= 0.3.4")
let repoDir = pv.downloadPkgFromUrl(options).dir #This is just to setup the test. We need a git dir to work on
let repoDir = pv.downloadPkgFromUrl(options)[0].dir #This is just to setup the test. We need a git dir to work on
let downloadMethod = DownloadMethod git

let packageVersions = getPackageMinimalVersionsFromRepo(repoDir, pv[0], downloadMethod, true, options)
let packageVersions = getPackageMinimalVersionsFromRepo(repoDir, pv[0], downloadMethod, options)

#we know these versions are available
let availableVersions = @["0.3.4", "0.3.5", "0.3.6", "0.4.5", "0.4.4"].mapIt(newVersion(it))
Expand Down

0 comments on commit 74062c2

Please sign in to comment.