mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Run codegen commands as tests if their results are commited
This commit is contained in:
parent
866102cdaf
commit
ce5046be50
7 changed files with 23 additions and 3 deletions
|
@ -127,3 +127,8 @@ fn existing_tests(dir: &Path, ok: bool) -> HashMap<String, (PathBuf, Test)> {
|
|||
}
|
||||
res
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
generate(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue