From 7fdedcccbf563db6ce1e93861d3f2a13516ce173 Mon Sep 17 00:00:00 2001 From: dafreels Date: Thu, 20 Apr 2023 08:51:22 -0400 Subject: [PATCH] #345 Updated test to fix build. --- .../scala/com/acxiom/metalus/steps/FunctionStepsTests.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metalus-core/src/test/scala/com/acxiom/metalus/steps/FunctionStepsTests.scala b/metalus-core/src/test/scala/com/acxiom/metalus/steps/FunctionStepsTests.scala index aaad557a..93f3b1ec 100644 --- a/metalus-core/src/test/scala/com/acxiom/metalus/steps/FunctionStepsTests.scala +++ b/metalus-core/src/test/scala/com/acxiom/metalus/steps/FunctionStepsTests.scala @@ -36,7 +36,7 @@ class FunctionStepsTests extends AnyFunSpec with BeforeAndAfterAll { | "position": 1 | }, | { - | "name": "/badDir", + | "name": "badDir", | "position": 2 | } | ] @@ -46,7 +46,7 @@ class FunctionStepsTests extends AnyFunSpec with BeforeAndAfterAll { val thrown = intercept[PipelineException] { FunctionSteps.executeCommand(command, TestHelper.generatePipelineContext()) } - assert(thrown.getMessage.startsWith("ls: /badDir: No such file or directory")) + assert(thrown.getMessage.startsWith("ls: badDir: No such file or directory")) } it("should execute command and return output and error") {