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 37fe3f2 commit a27d75eCopy full SHA for a27d75e
1 file changed
tests/flatten.rs
@@ -35,7 +35,8 @@ fn flatten() {
35
}
36
37
#[test]
38
-#[should_panic]
+#[cfg_attr(not(debug_assertions), ignore = "only panics in debug mode, else calls std::process::exit")]
39
+#[should_panic = "Non-unique argument name: arg is already in use"]
40
fn flatten_twice() {
41
#[derive(StructOpt, PartialEq, Debug)]
42
struct Common {
0 commit comments