summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-05-30 21:35:56 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-12-27 14:27:31 +0000
commitdcc24d0c74a5af88253129e6e22023e8050cc72e (patch)
treef786d68c320df4cb1849012b3510d7484f2ce1dc /share
parenta0df28bed44def6cddb342d0331313a298bdf00c (diff)
downloadsubplot-dcc24d0c74a5af88253129e6e22023e8050cc72e.tar.gz
rust/template: Permit non_snake_case for test functions
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'share')
-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 %}