Skip to content

Commit 49179d6

Browse files
Make UI tests annotations mandatory
1 parent 87f8a5b commit 49179d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ fn base_config(test_dir: &str) -> (Config, Args) {
122122
out_dir: target_dir.join("ui_test"),
123123
..Config::rustc(Path::new("tests").join(test_dir))
124124
};
125-
config.comment_defaults.base().mode = Some(Spanned::dummy(Mode::Yolo)).into();
125+
config.comment_defaults.base().mode = Some(Spanned::dummy(Mode::Fail { require_patterns: true })).into();
126126
config
127127
.comment_defaults
128128
.base()

0 commit comments

Comments
 (0)