Skip to content

Commit 7a7795a

Browse files
committed
Formatting changes for readability
Always put --format at the end of the command to make it easier to spot the difference between the commands. Signed-off-by: Jan Dubois <[email protected]>
1 parent 3c0c2bf commit 7a7795a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

hack/bats/helpers/load.bash

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ teardown() {
6060
assert_output_lines_count() {
6161
assert_equal "${#lines[@]}" "$1"
6262
}
63-
64-

hack/bats/tests/01-list.bats

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ local_setup() {
7979
}
8080

8181
@test '--json is shorthand for --format json' {
82-
run -0 limactl ls --format json foo bar
82+
run -0 limactl ls foo bar --format json
8383
format_json=$output
8484

85-
run -0 limactl ls --json foo bar
85+
run -0 limactl ls foo bar --json
8686
assert_output "$format_json"
8787
}
8888

@@ -91,7 +91,7 @@ local_setup() {
9191
run -0 limactl ls foo bar --format json
9292
json=$output
9393

94-
run -0 limactl ls --format yaml foo bar
94+
run -0 limactl ls foo bar --format yaml
9595
yaml=$output
9696

9797
assert_line --regexp '^name: foo'

0 commit comments

Comments
 (0)