diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-05-30 21:35:56 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-12-27 14:27:31 +0000 |
commit | dcc24d0c74a5af88253129e6e22023e8050cc72e (patch) | |
tree | f786d68c320df4cb1849012b3510d7484f2ce1dc | |
parent | a0df28bed44def6cddb342d0331313a298bdf00c (diff) | |
download | subplot-dcc24d0c74a5af88253129e6e22023e8050cc72e.tar.gz |
rust/template: Permit non_snake_case for test functions
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r-- | share/rust/template/template.rs.tera | 1 |
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 %} |