Clean up test code
Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
parent
45de510ce0
commit
9f9168ab60
@ -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
|
||||||
}
|
}
|
Reference in New Issue
Block a user