From 42381243442cc45195aa7feb37b04e8111951c88 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Sun, 16 Feb 2020 15:34:07 -0500 Subject: [PATCH] fmt tests --- tests/values.rs | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/tests/values.rs b/tests/values.rs index d699425..dbcc2f6 100644 --- a/tests/values.rs +++ b/tests/values.rs @@ -307,14 +307,8 @@ test!( "a {\n color: 1 + foo();\n}\n", "a {\n color: 1foo();\n}\n" ); -test!( - positive_integer, - "a {\n color: 1;\n}\n" -); -test!( - negative_integer, - "a {\n color: -1;\n}\n" -); +test!(positive_integer, "a {\n color: 1;\n}\n"); +test!(negative_integer, "a {\n color: -1;\n}\n"); test!( positive_float_no_leading_zero, "a {\n color: .1;\n}\n", @@ -325,11 +319,5 @@ test!( "a {\n color: -.1;\n}\n", "a {\n color: -0.1;\n}\n" ); -test!( - positive_float_leading_zero, - "a {\n color: 0.1;\n}\n" -); -test!( - negative_float_leading_zero, - "a {\n color: -0.1;\n}\n" -); +test!(positive_float_leading_zero, "a {\n color: 0.1;\n}\n"); +test!(negative_float_leading_zero, "a {\n color: -0.1;\n}\n");