diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2019-10-09 11:45:13 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2019-10-09 11:45:13 +0200 |
commit | 8c56de1e698253662ec3e9efeb5e20fc88eea0e9 (patch) | |
tree | 509b889da00032d4254c2c453c91463e4d04b91f /testing/tests/rust_macro.rs | |
parent | c82db307b0456e2a901599516b14f0d92e9cc682 (diff) | |
download | askama-8c56de1e698253662ec3e9efeb5e20fc88eea0e9.tar.gz askama-8c56de1e698253662ec3e9efeb5e20fc88eea0e9.tar.bz2 askama-8c56de1e698253662ec3e9efeb5e20fc88eea0e9.zip |
Limit test sensitivity to macro pretty printing output
See https://github.com/rust-lang/rust/issues/65207.
Diffstat (limited to 'testing/tests/rust_macro.rs')
-rw-r--r-- | testing/tests/rust_macro.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/rust_macro.rs b/testing/tests/rust_macro.rs index b92bbeb..8d2543d 100644 --- a/testing/tests/rust_macro.rs +++ b/testing/tests/rust_macro.rs @@ -45,5 +45,5 @@ struct RustMacrosArgTemplate {} #[test] fn args() { let template = RustMacrosArgTemplate {}; - assert_eq!("0\n91\n99", template.render().unwrap()); + assert_eq!("0\n17\n25", template.render().unwrap()); } |