We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[test]
1 parent d141a73 commit e74f2a4Copy full SHA for e74f2a4
src/dev/check.rs
@@ -97,7 +97,7 @@ fn check_info_file_exercises(info_file: &InfoFile) -> Result<HashSet<PathBuf>> {
97
bail!("Didn't find any `// TODO` comment in the file `{path}`.\nYou need to have at least one such comment to guide the user.");
98
}
99
100
- if !exercise_info.test && file_buf.contains("#[test]") {
+ if !exercise_info.test && file_buf.contains("#[test]\n") {
101
bail!("The file `{path}` contains tests annotated with `#[test]` but the exercise `{name}` has `test = false` in the `info.toml` file");
102
103
0 commit comments