From dcc24d0c74a5af88253129e6e22023e8050cc72e Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 30 May 2021 21:35:56 +0100 Subject: rust/template: Permit non_snake_case for test functions Signed-off-by: Daniel Silverstone --- share/rust/template/template.rs.tera | 1 + 1 file changed, 1 insertion(+) (limited to 'share') 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 %} -- cgit v1.2.1