Skip to content

Commit e9846fd

Browse files
author
Ira Abramov
committed
another lint issue
1 parent 8306cf1 commit e9846fd

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

test/lib/utilities.bats

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,68 +7,68 @@ function local_setup_file() {
77
}
88

99
@test "utilities: _is_function: _command_exists" {
10-
run _is_function _command_exists
11-
assert_success
10+
run _is_function _command_exists
11+
assert_success
1212
}
1313

1414
@test "utilities: _command_exists function positive test ls" {
15-
run _command_exists ls
16-
assert_success
15+
run _command_exists ls
16+
assert_success
1717
}
1818

1919
@test "utilities: _command_exists function positive test bash-it" {
20-
run _command_exists bash-it
21-
assert_success
20+
run _command_exists bash-it
21+
assert_success
2222
}
2323

2424
@test "utilities: _command_exists function negative test" {
25-
run _command_exists "__addfkds_dfdsjdf_${RANDOM:-}"
26-
assert_failure
25+
run _command_exists "__addfkds_dfdsjdf_${RANDOM:-}"
26+
assert_failure
2727
}
2828

2929
@test "utilities: _is_function: _binary_exists" {
30-
run _is_function _binary_exists
31-
assert_success
30+
run _is_function _binary_exists
31+
assert_success
3232
}
3333

3434
@test "utilities: _binary_exists function positive test ls" {
35-
run _binary_exists ls
36-
assert_success
35+
run _binary_exists ls
36+
assert_success
3737
}
3838

3939
@test "utilities: _binary_exists function negative test function" {
40-
run _binary_exists _binary_exists
41-
assert_failure
40+
run _binary_exists _binary_exists
41+
assert_failure
4242
}
4343

4444
@test "utilities: _binary_exists function negative test" {
45-
run _binary_exists "__addfkds_dfdsjdf_${RANDOM:-}"
46-
assert_failure
45+
run _binary_exists "__addfkds_dfdsjdf_${RANDOM:-}"
46+
assert_failure
4747
}
4848

4949
@test "utilities: _is_function: _completion_exists" {
50-
run _is_function _completion_exists
51-
assert_success
50+
run _is_function _completion_exists
51+
assert_success
5252
}
5353

5454
@test "utilities: _is_function new function" {
55-
local teh_new_func="__addfkds_dfdsjdf_${RANDOM:-}"
56-
run _is_function "${teh_new_func?}"
57-
assert_failure
55+
local teh_new_func="__addfkds_dfdsjdf_${RANDOM:-}"
56+
run _is_function "${teh_new_func?}"
57+
assert_failure
5858

59-
cite "${teh_new_func?}"
60-
run _is_function "${teh_new_func?}"
61-
assert_success
59+
cite "${teh_new_func?}"
60+
run _is_function "${teh_new_func?}"
61+
assert_success
6262
}
6363

6464
@test "utilities: _command_exists new function" {
65-
local teh_new_func="__addfkds_dfdsjdf_${RANDOM:-}"
66-
run _command_exists "${teh_new_func?}"
67-
assert_failure
65+
local teh_new_func="__addfkds_dfdsjdf_${RANDOM:-}"
66+
run _command_exists "${teh_new_func?}"
67+
assert_failure
6868

69-
cite "${teh_new_func?}"
70-
run _command_exists "${teh_new_func?}"
71-
assert_success
69+
cite "${teh_new_func?}"
70+
run _command_exists "${teh_new_func?}"
71+
assert_success
7272
}
7373

7474
@test "_bash-it-component-item-is-enabled() - for a disabled item" {

0 commit comments

Comments
 (0)