Skip to content

Commit

Permalink
Migrate diktat smoke tests to SAVE-cli mechanism
Browse files Browse the repository at this point in the history
### What's done:
* migrated diktat smoke tests to SAVE-cli mechanism
Closes #1383
  • Loading branch information
Cheshiriks committed Jul 5, 2022
1 parent e3e410e commit 33c5187
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ open class FixTestBase(
processBuilder.redirectOutput(file)

downloadFile("https://github.com/saveourtool/save-cli/releases/download/v$saveVersion/${getSaveForCurrentOs()}", save)
downloadFile("https://github.com/pinterest/ktlint/releases/download/0.46.1/ktlint", ktlint)
downloadFile("https://github.com/pinterest/ktlint/releases/download/$ktlintVersion/ktlint", ktlint)

val process = processBuilder.start()
process.waitFor()
Expand Down Expand Up @@ -205,5 +205,6 @@ open class FixTestBase(

companion object {
private val saveVersion = "0.3.1"
private val ktlintVersion = "0.46.1"
}
}

0 comments on commit 33c5187

Please sign in to comment.