aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/whitespace.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-07-20 11:21:32 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-07-20 11:21:32 +0200
commitb69879eefe0c2485a6b8b8e6f396e4618e3c4c1a (patch)
treea0684eae39daad0197cfabb19893811d11acf4ac /testing/tests/whitespace.rs
parent40748eb8e0689af0fd8bb757ae24684d4b770d68 (diff)
downloadaskama-b69879eefe0c2485a6b8b8e6f396e4618e3c4c1a.tar.gz
askama-b69879eefe0c2485a6b8b8e6f396e4618e3c4c1a.tar.bz2
askama-b69879eefe0c2485a6b8b8e6f396e4618e3c4c1a.zip
Fix additional clippy issue
Diffstat (limited to 'testing/tests/whitespace.rs')
-rw-r--r--testing/tests/whitespace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/whitespace.rs b/testing/tests/whitespace.rs
index 92d6880..93c601e 100644
--- a/testing/tests/whitespace.rs
+++ b/testing/tests/whitespace.rs
@@ -37,5 +37,5 @@ fn test_extra_whitespace() {
let mut template = AllowWhitespaces::default();
template.nested_1.nested_2.array = &["a0", "a1", "a2", "a3"];
template.nested_1.nested_2.hash.insert("key", "value");
- assert_eq!(template.render().unwrap(), "\n0\n0\n0\n0\n\n\n\n0\n0\n0\n0\n0\n\na0\na1\nvalue\n\n\n\n\n\n[\n \"a0\",\n \"a1\",\n \"a2\",\n \"a3\"\n]\n[\n \"a0\",\n \"a1\",\n \"a2\",\n \"a3\"\n][\n \"a0\",\n \"a1\",\n \"a2\",\n \"a3\"\n]\n[\n \"a1\"\n][\n \"a1\"\n]\n[\n \"a1\",\n \"a2\"\n][\n \"a1\",\n \"a2\"\n]\n[][\n \"a1\"\n]1-1-1\n3333 3\n2222 2\n0000 0\n3333 3\n\ntruefalse\nfalsefalsefalse\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
+ assert_eq!(template.render().unwrap(), "\n0\n0\n0\n0\n\n\n\n0\n0\n0\n0\n0\n\na0\na1\nvalue\n\n\n\n\n\n[\n \"a0\",\n \"a1\",\n \"a2\",\n \"a3\"\n]\n[\n \"a0\",\n \"a1\",\n \"a2\",\n \"a3\"\n][\n \"a0\",\n \"a1\",\n \"a2\",\n \"a3\"\n]\n[\n \"a1\"\n][\n \"a1\"\n]\n[\n \"a1\",\n \"a2\"\n][\n \"a1\",\n \"a2\"\n]\n[\n \"a1\"\n][\n \"a1\"\n]1-1-1\n3333 3\n2222 2\n0000 0\n3333 3\n\ntruefalse\nfalsefalsefalse\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
}