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);