diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-08-19 10:37:03 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-08-19 10:37:03 +0100 |
commit | 53241928e5866b5aa501710e59b264905beeca1a (patch) | |
tree | 2e1533cdefd25cda25f02711632ae8e206cc68f6 /crates/ra_tools/tests | |
parent | 83413cc9ef73d578f2e42c21f7aa85ef296be8c0 (diff) | |
parent | 038975b348b03dd3063d14cabd30fa71b010baea (diff) |
Merge #1697
1697: Use quote instead of tera for boilerplate generation r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_tools/tests')
-rw-r--r-- | crates/ra_tools/tests/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_tools/tests/cli.rs b/crates/ra_tools/tests/cli.rs index ae0eb337d..c672e5788 100644 --- a/crates/ra_tools/tests/cli.rs +++ b/crates/ra_tools/tests/cli.rs | |||
@@ -1,10 +1,10 @@ | |||
1 | use walkdir::WalkDir; | 1 | use walkdir::WalkDir; |
2 | 2 | ||
3 | use ra_tools::{gen_tests, generate, project_root, run_rustfmt, Verify}; | 3 | use ra_tools::{gen_tests, generate_boilerplate, project_root, run_rustfmt, Verify}; |
4 | 4 | ||
5 | #[test] | 5 | #[test] |
6 | fn generated_grammar_is_fresh() { | 6 | fn generated_grammar_is_fresh() { |
7 | if let Err(error) = generate(Verify) { | 7 | if let Err(error) = generate_boilerplate(Verify) { |
8 | panic!("{}. Please update it by running `cargo gen-syntax`", error); | 8 | panic!("{}. Please update it by running `cargo gen-syntax`", error); |
9 | } | 9 | } |
10 | } | 10 | } |