aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/gen_ws_tests.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/tests/gen_ws_tests.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/tests/gen_ws_tests.py b/testing/tests/gen_ws_tests.py
index c2e24cb..5d2a332 100644
--- a/testing/tests/gen_ws_tests.py
+++ b/testing/tests/gen_ws_tests.py
@@ -115,9 +115,9 @@ macro_rules! test_template {
($source:literal, $rendered:expr) => {{
#[derive(Template)]
#[template(source = $source, ext = "txt")]
- struct CondWS;
+ struct CondWs;
- assert_eq!(CondWS.render().unwrap(), $rendered);
+ assert_eq!(CondWs.render().unwrap(), $rendered);
}};
}
@@ -148,12 +148,12 @@ macro_rules! test_match {
($source:literal, $some_rendered:expr, $none_rendered:expr) => {{
#[derive(Template)]
#[template(source = $source, ext = "txt")]
- struct MatchWS {
+ struct MatchWs {
item: Option<&'static str>,
}
- assert_eq!(MatchWS { item: Some("foo") }.render().unwrap(), $some_rendered);
- assert_eq!(MatchWS { item: None }.render().unwrap(), $none_rendered);
+ assert_eq!(MatchWs { item: Some("foo") }.render().unwrap(), $some_rendered);
+ assert_eq!(MatchWs { item: None }.render().unwrap(), $none_rendered);
}};
}