We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
flatten_twice
not(debug)
1 parent 98fdfb0 commit 4f13189Copy full SHA for 4f13189
1 file changed
tests/flatten.rs
@@ -35,7 +35,11 @@ fn flatten() {
35
}
36
37
#[test]
38
-#[should_panic]
+#[cfg_attr(
39
+ not(debug_assertions),
40
+ ignore = "only panics in debug mode, else calls std::process::exit"
41
+)]
42
+#[should_panic = "Non-unique argument name: arg is already in use"]
43
fn flatten_twice() {
44
#[derive(StructOpt, PartialEq, Debug)]
45
struct Common {
0 commit comments