We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 650f911 commit e35498dCopy full SHA for e35498d
tests/ui-tests.rs
@@ -47,7 +47,9 @@ fn ui_tests() {
47
48
#[test]
49
fn ui_migrate_tests() {
50
- let t = trybuild::TestCases::new();
51
- t.compile_fail("tests/ui/migrate/invalid_key.rs");
52
- t.compile_fail("tests/ui/migrate/missing_parameter.rs");
+ if cfg!(feature = "migrate") {
+ let t = trybuild::TestCases::new();
+ t.compile_fail("tests/ui/migrate/invalid_key.rs");
53
+ t.compile_fail("tests/ui/migrate/missing_parameter.rs");
54
+ }
55
}
0 commit comments