diff --git a/Cargo.lock b/Cargo.lock
index 1b9f4d8..f1cca1d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -683,18 +683,18 @@ checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090"
[[package]]
name = "serde"
-version = "1.0.192"
+version = "1.0.193"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001"
+checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.192"
+version = "1.0.193"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1"
+checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
dependencies = [
"proc-macro2",
"quote",
diff --git a/src/svg/helpers.rs b/src/svg/helpers.rs
index a3ce173..2aab09c 100644
--- a/src/svg/helpers.rs
+++ b/src/svg/helpers.rs
@@ -446,7 +446,7 @@ mod tests {
#[test]
fn scope_helper_basics() {
- let template = r#"{{#scope test_var=1}}Test var is: {{test_var}}{{/scope}}"#;
+ let template = "{{#scope test_var=1}}Test var is: {{test_var}}{{/scope}}";
let mut handlebars = Handlebars::new();
handlebars.set_strict_mode(true);
handlebars.register_helper("scope", Box::new(ScopeHelper));
@@ -496,7 +496,7 @@ mod tests {
#[test]
fn add_helper_basics() {
- let template = r#"{{add 1 2 5}}"#;
+ let template = "{{add 1 2 5}}";
let mut handlebars = Handlebars::new();
handlebars.set_strict_mode(true);
handlebars.register_helper("add", Box::new(OpsHelper::Add));
@@ -506,7 +506,7 @@ mod tests {
#[test]
fn add_with_scope_var() {
- let template = r#"
+ let template = "
{{#scope lines=0 margins=0}}
{{#each values}}
{{lines set=(add (lines) input.line_count output.line_count)}}
@@ -518,7 +518,7 @@ mod tests {
{{/each}}
{{lines}}, {{margins}}
{{/scope}}
- "#;
+ ";
let mut handlebars = Handlebars::new();
handlebars.set_strict_mode(true);
@@ -626,9 +626,7 @@ mod tests {
#[test]
fn line_splitter() {
- let template = r#"
- {{#each (split_lines text)}}{{this}}
{{/each}}
- "#;
+ let template = "{{#each (split_lines text)}}{{this}}
{{/each}}";
let text = "test\nother test";
let mut handlebars = Handlebars::new();
@@ -646,9 +644,7 @@ mod tests {
#[test]
fn range_helper_with_each_block() {
- let template = r#"
- {{#each (range 0 4)}}{{@index}}: {{lookup ../xs @index}}, {{/each}}
- "#;
+ let template = "{{#each (range 0 4)}}{{@index}}: {{lookup ../xs @index}}, {{/each}}";
let mut handlebars = Handlebars::new();
handlebars.set_strict_mode(true);