@@ -7,68 +7,68 @@ function local_setup_file() {
7
7
}
8
8
9
9
@test " utilities: _is_function: _command_exists" {
10
- run _is_function _command_exists
11
- assert_success
10
+ run _is_function _command_exists
11
+ assert_success
12
12
}
13
13
14
14
@test " utilities: _command_exists function positive test ls" {
15
- run _command_exists ls
16
- assert_success
15
+ run _command_exists ls
16
+ assert_success
17
17
}
18
18
19
19
@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
22
22
}
23
23
24
24
@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
27
27
}
28
28
29
29
@test " utilities: _is_function: _binary_exists" {
30
- run _is_function _binary_exists
31
- assert_success
30
+ run _is_function _binary_exists
31
+ assert_success
32
32
}
33
33
34
34
@test " utilities: _binary_exists function positive test ls" {
35
- run _binary_exists ls
36
- assert_success
35
+ run _binary_exists ls
36
+ assert_success
37
37
}
38
38
39
39
@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
42
42
}
43
43
44
44
@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
47
47
}
48
48
49
49
@test " utilities: _is_function: _completion_exists" {
50
- run _is_function _completion_exists
51
- assert_success
50
+ run _is_function _completion_exists
51
+ assert_success
52
52
}
53
53
54
54
@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
58
58
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
62
62
}
63
63
64
64
@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
68
68
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
72
72
}
73
73
74
74
@test " _bash-it-component-item-is-enabled() - for a disabled item" {
0 commit comments