@@ -141,7 +141,7 @@ mod tests {
141
141
] ;
142
142
143
143
#[ test]
144
- #[ cfg_attr( not( windows) , ignore) ]
144
+ #[ cfg_attr( not( windows) , ignore = "only meaningful on Windows" ) ]
145
145
fn find_git_associated_windows_executable ( ) {
146
146
for stem in SHOULD_FIND {
147
147
let path = super :: find_git_associated_windows_executable ( stem) ;
@@ -150,7 +150,7 @@ mod tests {
150
150
}
151
151
152
152
#[ test]
153
- #[ cfg_attr( not( windows) , ignore) ]
153
+ #[ cfg_attr( not( windows) , ignore = "only meaningful on Windows" ) ]
154
154
fn find_git_associated_windows_executable_no_extra ( ) {
155
155
for stem in SHOULD_NOT_FIND {
156
156
let path = super :: find_git_associated_windows_executable ( stem) ;
@@ -159,7 +159,7 @@ mod tests {
159
159
}
160
160
161
161
#[ test]
162
- #[ cfg_attr( not( windows) , ignore) ]
162
+ #[ cfg_attr( not( windows) , ignore = "only meaningful on Windows" ) ]
163
163
fn find_git_associated_windows_executable_with_fallback ( ) {
164
164
for stem in SHOULD_FIND {
165
165
let path = super :: find_git_associated_windows_executable_with_fallback ( stem) ;
@@ -168,7 +168,7 @@ mod tests {
168
168
}
169
169
170
170
#[ test]
171
- #[ cfg_attr( not( windows) , ignore) ]
171
+ #[ cfg_attr( not( windows) , ignore = "only meaningful on Windows" ) ]
172
172
fn find_git_associated_windows_executable_with_fallback_falls_back ( ) {
173
173
for stem in SHOULD_NOT_FIND {
174
174
let path = super :: find_git_associated_windows_executable_with_fallback ( stem)
0 commit comments