aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src
diff options
context:
space:
mode:
Diffstat (limited to 'askama_shared/src')
-rw-r--r--askama_shared/src/filters/mod.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/askama_shared/src/filters/mod.rs b/askama_shared/src/filters/mod.rs
index 66a0ee2..35bdd5a 100644
--- a/askama_shared/src/filters/mod.rs
+++ b/askama_shared/src/filters/mod.rs
@@ -570,16 +570,10 @@ mod tests {
assert_eq!(join(empty.iter(), ", ").unwrap(), "");
let input: Vec<String> = vec!["foo".into(), "bar".into(), "bazz".into()];
- assert_eq!(
- join((&input).iter(), ":".to_string()).unwrap(),
- "foo:bar:bazz"
- );
assert_eq!(join(input.iter(), ":").unwrap(), "foo:bar:bazz");
- assert_eq!(join(input.iter(), ":".to_string()).unwrap(), "foo:bar:bazz");
let input: &[String] = &["foo".into(), "bar".into()];
assert_eq!(join(input.iter(), ":").unwrap(), "foo:bar");
- assert_eq!(join(input.iter(), ":".to_string()).unwrap(), "foo:bar");
let real: String = "blah".into();
let input: Vec<&str> = vec![&real];