diff --git a/src/builtin/macros.rs b/src/builtin/macros.rs index 9dbcfdc..cd1f8c6 100644 --- a/src/builtin/macros.rs +++ b/src/builtin/macros.rs @@ -29,10 +29,20 @@ macro_rules! max_args { ($args:ident, $count:literal) => { if $args.len() > $count { if $count > 1 { - return Err(format!("Only {} arguments allowed, but {} were passed.", $count, $args.len()).into()); + return Err(format!( + "Only {} arguments allowed, but {} were passed.", + $count, + $args.len() + ) + .into()); } else { - return Err(format!("Only {} argument allowed, but {} were passed.", $count, $args.len()).into()); + return Err(format!( + "Only {} argument allowed, but {} were passed.", + $count, + $args.len() + ) + .into()); } } }; -} \ No newline at end of file +} diff --git a/tests/styles.rs b/tests/styles.rs index de902dc..872c9fc 100644 --- a/tests/styles.rs +++ b/tests/styles.rs @@ -130,8 +130,4 @@ test!( "a {\n color:red\n}\n", "a {\n color: red;\n}\n" ); -test!( - removes_null_value, - "a {\n color: null;\n}\n", - "" -); +test!(removes_null_value, "a {\n color: null;\n}\n", "");