Skip to content

Commit

Permalink
Acxiom#345 Updated test to fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dafreels committed Apr 20, 2023
1 parent cbe4491 commit 7fdedcc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class FunctionStepsTests extends AnyFunSpec with BeforeAndAfterAll {
| "position": 1
| },
| {
| "name": "/badDir",
| "name": "badDir",
| "position": 2
| }
| ]
Expand All @@ -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") {
Expand Down

0 comments on commit 7fdedcc

Please sign in to comment.