welp. and i'm done lol
This commit is contained in:
@@ -11,5 +11,16 @@ setup(){
|
||||
|
||||
@test "no args? you fail." {
|
||||
run args
|
||||
assert_output --partial "args obviously needs arguments to work…"
|
||||
assert_failure
|
||||
}
|
||||
|
||||
@test "one arg" {
|
||||
run args one
|
||||
assert_output --partial "@1"$'\t'"one"
|
||||
}
|
||||
|
||||
@test "represent empty string" {
|
||||
run args ''
|
||||
assert_output --partial "@1"$'\t'"''"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user