[fine] Fiddle with tests, no errors
This commit is contained in:
parent
65fef78c44
commit
4be4572574
8 changed files with 41 additions and 35 deletions
|
|
@ -82,6 +82,8 @@ fn generate_test_for_file(path: PathBuf) -> String {
|
|||
assertions.push(quote! {
|
||||
crate::assert_no_errors(&_tree, &_lines);
|
||||
});
|
||||
} else if line.starts_with("@") {
|
||||
panic!("Test file {display_path} has unknown directive: {line}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue