Skip to content

Commit 0b7f3fe

Browse files
test: skip mod.rs files when checking for annotations
1 parent cf9f382 commit 0b7f3fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration_tests.rs

+3
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ fn get_hint_for_single_test() {
125125
fn all_exercises_require_confirmation() {
126126
for exercise in glob("exercises/**/*.rs").unwrap() {
127127
let path = exercise.unwrap();
128+
if path.file_name().unwrap() == "mod.rs" {
129+
continue
130+
}
128131
let source = {
129132
let mut file = File::open(&path).unwrap();
130133
let mut s = String::new();

0 commit comments

Comments
 (0)