@@ -4,14 +4,8 @@ use cargo_test_support::cargo_test;
4
4
use completest_pty:: Runtime ;
5
5
use snapbox:: assert_data_eq;
6
6
7
- #[ cargo_test]
8
- #[ ignore = "disabled, see https://github.com/rust-lang/cargo/issues/14545" ]
7
+ #[ cargo_test( requires_bash) ]
9
8
fn bash ( ) {
10
- // HACK: At least on CI, bash is not working on macOS
11
- if cfg ! ( target_os = "macos" ) {
12
- return ;
13
- }
14
-
15
9
let input = "cargo \t \t " ;
16
10
let expected = snapbox:: str![
17
11
"%
@@ -30,14 +24,8 @@ fn bash() {
30
24
assert_data_eq ! ( actual, expected) ;
31
25
}
32
26
33
- #[ cargo_test]
34
- #[ ignore = "disabled, see https://github.com/rust-lang/cargo/issues/14545" ]
27
+ #[ cargo_test( requires_elvish) ]
35
28
fn elvish ( ) {
36
- // HACK: At least on CI, elvish is not working on macOS
37
- if cfg ! ( target_os = "macos" ) {
38
- return ;
39
- }
40
-
41
29
let input = "cargo \t \t " ;
42
30
let expected = snapbox:: str![
43
31
"% cargo --config
@@ -57,14 +45,8 @@ fn elvish() {
57
45
assert_data_eq ! ( actual, expected) ;
58
46
}
59
47
60
- #[ cargo_test]
61
- #[ ignore = "disabled, see https://github.com/rust-lang/cargo/issues/14545" ]
48
+ #[ cargo_test( requires_fish) ]
62
49
fn fish ( ) {
63
- // HACK: At least on CI, fish is not working on macOS
64
- if cfg ! ( target_os = "macos" ) {
65
- return ;
66
- }
67
-
68
50
let input = "cargo \t \t " ;
69
51
let expected = snapbox:: str![
70
52
"% cargo
128
110
assert_data_eq ! ( actual, expected) ;
129
111
}
130
112
131
- #[ cargo_test]
132
- #[ ignore = "disabled, see https://github.com/rust-lang/cargo/issues/14545" ]
113
+ #[ cargo_test( requires_zsh) ]
133
114
fn zsh ( ) {
134
115
let input = "cargo \t \t " ;
135
116
let expected = snapbox:: str![
0 commit comments