Clean up test code

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine 2021-12-15 10:36:15 -07:00 committed by Sam Alba
parent 45de510ce0
commit 9f9168ab60

View File

@ -15,12 +15,12 @@ setup() {
} }
@test "task: #WriteFile" { @test "task: #WriteFile" {
cd "$TESTDIR" cd "$TESTDIR"/tasks/write_file
dagger --europa up ./tasks/write_file/write_file.cue dagger --europa up ./write_file.cue
} }
@test "task: #WriteFile failure: different contents" { @test "task: #WriteFile failure: different contents" {
cd "$TESTDIR" cd "$TESTDIR"/tasks/write_file
run dagger --europa up ./tasks/write_file/write_file_failure_diff_contents.cue run dagger --europa up ./write_file_failure_diff_contents.cue
assert_failure assert_failure
} }