diff options
| author | mokou <mokou@fastmail.com> | 2022-04-14 11:19:54 +0200 |
|---|---|---|
| committer | mokou <mokou@fastmail.com> | 2022-04-14 11:19:54 +0200 |
| commit | 0b7f3fe37a6f202d85607ae30d07736a9202d489 (patch) | |
| tree | a851b1c4eaa4059771129b3692504c8f1c50e734 /tests | |
| parent | cf9f382873a8ec167803ff575004048240dc0532 (diff) | |
test: skip mod.rs files when checking for annotations
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/integration_tests.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index be9af96..fc46b98 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -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(); |
