Skip to content

Commit

Permalink
test: skip mod.rs files when checking for annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
shadows-withal committed Apr 14, 2022
1 parent cf9f382 commit 0b7f3fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ fn get_hint_for_single_test() {
fn all_exercises_require_confirmation() {
for exercise in glob("exercises/**/*.rs").unwrap() {
let path = exercise.unwrap();
if path.file_name().unwrap() == "mod.rs" {
continue
}
let source = {
let mut file = File::open(&path).unwrap();
let mut s = String::new();
Expand Down

0 comments on commit 0b7f3fe

Please sign in to comment.