From aa6d48d2ae780162c8b4030f8dd860dea0564a3e Mon Sep 17 00:00:00 2001 From: Ondrej Zizka Date: Wed, 21 Aug 2024 14:51:30 +0200 Subject: [PATCH] Fix test offset --- .../csvcruncher/it/OptionsCombinationsTest.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/kotlin/cz/dynawest/csvcruncher/it/OptionsCombinationsTest.kt b/src/test/kotlin/cz/dynawest/csvcruncher/it/OptionsCombinationsTest.kt index 75d0ef2..e3a28c5 100644 --- a/src/test/kotlin/cz/dynawest/csvcruncher/it/OptionsCombinationsTest.kt +++ b/src/test/kotlin/cz/dynawest/csvcruncher/it/OptionsCombinationsTest.kt @@ -89,12 +89,12 @@ class OptionsCombinationsTest { fun combineInputFile() { val command = //"--json=entries" + " | --rowNumbers" + - " | --combineInputs" + - " | -in | src/test/data/eapBuilds.csv" + - " | -out | target/testResults/combineInputFile.csv" + - " | -sql | SELECT jobName, buildNumber, config, ar, arFile, deployDur, warmupDur, scale," + - " CAST(warmupDur AS DOUBLE) / CAST(deployDur AS DOUBLE) AS warmupSlower" + - " FROM eapBuilds ORDER BY deployDur" + " | --combineInputs" + + " | -in | src/test/data/eapBuilds.csv" + + " | -out | target/testResults/combineInputFile.csv" + + " | -sql | SELECT jobName, buildNumber, config, ar, arFile, deployDur, warmupDur, scale," + + " CAST(warmupDur AS DOUBLE) / CAST(deployDur AS DOUBLE) AS warmupSlower" + + " FROM eapBuilds ORDER BY deployDur" CsvCruncherTestUtils.runCruncherWithArguments(command) val resultCsv = Paths.get("target/testResults/combineInputFile.csv").toFile() assertTrue(resultCsv.exists())