summaryrefslogtreecommitdiff
path: root/share/rust/template/template.rs.tera
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-03 06:16:07 +0000
committerLars Wirzenius <liw@liw.fi>2022-01-03 06:16:07 +0000
commit0734368d45b349a6ab433c1d41f35a95ea58c9ec (patch)
treeb69c6b84b9ce025d6f7afd92d734452757f4f365 /share/rust/template/template.rs.tera
parente8082fef03bd04042dad3fb2d0513587c54874ab (diff)
parentb9de4d5e810d07b679ad9ab9e46d58e4c76213cc (diff)
downloadsubplot-0734368d45b349a6ab433c1d41f35a95ea58c9ec.tar.gz
Merge branch 'more-rust-subplots' into 'main'
codegen: Refuse to generate code if the specified template is not present Closes #259 See merge request subplot/subplot!242
Diffstat (limited to 'share/rust/template/template.rs.tera')
-rw-r--r--share/rust/template/template.rs.tera1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/rust/template/template.rs.tera b/share/rust/template/template.rs.tera
index c94d63c..65fb755 100644
--- a/share/rust/template/template.rs.tera
+++ b/share/rust/template/template.rs.tera
@@ -28,6 +28,7 @@ lazy_static! {
// {{ scenario.title | commentsafe }}
#[test]
+#[allow(non_snake_case)]
fn {{ scenario.title | nameslug }}() {
let mut scenario = Scenario::new(&base64_decode("{{scenario.title | base64}}"));
{% for step in scenario.steps %}