From 80c375cfb3961547cac2533945d0e12f2aeb3bd4 Mon Sep 17 00:00:00 2001 From: Vfrolov Date: Mon, 11 Jul 2022 14:54:07 +0300 Subject: [PATCH] Migrate diktat smoke tests to SAVE-cli mechanism ### What's done: * migrated diktat smoke tests to SAVE-cli mechanism Closes #1383 --- .../src/test/kotlin/org/cqfn/diktat/util/FixTestBase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diktat-rules/src/test/kotlin/org/cqfn/diktat/util/FixTestBase.kt b/diktat-rules/src/test/kotlin/org/cqfn/diktat/util/FixTestBase.kt index c309fda9c2..72c4ff0472 100644 --- a/diktat-rules/src/test/kotlin/org/cqfn/diktat/util/FixTestBase.kt +++ b/diktat-rules/src/test/kotlin/org/cqfn/diktat/util/FixTestBase.kt @@ -77,7 +77,7 @@ open class FixTestBase( private fun getProcessBuilder(expectedPath: String, testPath: String): ProcessBuilder { val saveDir = "src/test/resources/test/smoke/${getSaveForCurrentOs()}" - val filesDir = "src/test/resources/test/smoke/${getSaveForCurrentOs()}" + val filesDir = "src/test/resources/test/smoke" val systemName = System.getProperty("os.name") return when { systemName.startsWith("Linux", ignoreCase = true) || systemName.startsWith("Mac", ignoreCase = true) ->