From 3390330c0c40fab2d53ae47951cfd1f24fdcac76 Mon Sep 17 00:00:00 2001 From: Ferran Basora Date: Thu, 3 Oct 2019 16:52:05 +0000 Subject: [PATCH] Fix format --- src/state.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index b85801a..a1c060c 100644 --- a/src/state.rs +++ b/src/state.rs @@ -210,7 +210,9 @@ mod tests { #[test] fn match_bash() { - let lines = split("path: /var/log/nginx.log\npath: test/log/nginx-2.log:32folder/.nginx@4df2.log"); + let lines = split( + "path: /var/log/nginx.log\npath: test/log/nginx-2.log:32folder/.nginx@4df2.log", + ); let custom = [].to_vec(); let results = State::new(&lines, "abcd", &custom).matches(false, false);