Skip to content

Commit 0857fc9

Browse files
committed
Fix tests more
1 parent 165cd09 commit 0857fc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/volumes/list-view-update-volumes.bats

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ teardown() {
3333
--delimiter=","
3434

3535
assert_success
36-
assert_output --regexp "[0-9]+,A[0-9]+,(creating|active),10,us-east"
36+
assert_output --regexp "[0-9]+,[A-Za-z0-9]+,(creating|active),10,us-east"
3737
}
3838

3939
@test "it should view a single volume" {
@@ -44,7 +44,7 @@ teardown() {
4444
--format="id,label,size,region"
4545

4646
assert_success
47-
assert_output --regexp "$volume_id,A[0-9]+,10,us-east"
47+
assert_output --regexp "$volume_id,[A-Za-z0-9]+,10,us-east"
4848
}
4949

5050
@test "it should update a volume label" {
@@ -92,7 +92,7 @@ teardown() {
9292

9393
assert_failure
9494
assert_output --partial "usage: linode-cli volumes update [-h] [--label label] [--tags tags] volumeId"
95-
assert_output --partial "linode-cli: error: unrecognized arguments: --size=15"
95+
assert_output --partial "linode-cli volumes update: error: unrecognized arguments: --size=15"
9696
}
9797

9898
@test "it should remove all volumes and unique tags" {

0 commit comments

Comments
 (0)