do: simplify help management

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2022-03-10 15:11:55 -08:00
parent 5114992a53
commit 993c706faa
3 changed files with 36 additions and 51 deletions

View File

@@ -38,9 +38,12 @@ setup() {
refute_output --partial 'client.filesystem."./dependent_do".write'
}
@test "plan/do: Nice error message for 0.1.0 projects" {
@test "plan/do: nice error message for 0.1.0 projects" {
run "$DAGGER" "do" -p ./plan/do/error_message_for_0.1_projects.cue
assert_output --partial "Attempting to load a dagger 0.1.0 project."
assert_output --partial "attempting to load a dagger 0.1.0 project."
run "$DAGGER" "do" -p ./plan/do/error_message_for_0.1_projects.cue test
assert_output --partial "attempting to load a dagger 0.1.0 project."
}
@test "plan/hello" {