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 12, 2022
1 parent 18e08ff commit 4c8c223
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import kotlin.io.path.pathString
class DiktatSaveSmokeTest : DiktatSmokeTestBase() {
override fun fixAndCompare(
config: String,
expected: String,
test: String,
expected: String
) {
saveSmokeTest(config, test)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ import java.io.File
class DiktatSmokeTest : DiktatSmokeTestBase() {
override fun fixAndCompare(
config: String,
expected: String,
test: String,
expected: String
) {
fixAndCompareSmokeTest(test, expected)
fixAndCompareSmokeTest(expected, test)
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ abstract class DiktatSmokeTestBase : FixTestBase("test/smoke/src/main/kotlin",

abstract fun fixAndCompare(
config: String,
expected: String,
test: String,
expected: String
)

companion object {
Expand Down

0 comments on commit 4c8c223

Please sign in to comment.