diff --git a/tests/number.rs b/tests/number.rs index 40aec65..1d40a8d 100644 --- a/tests/number.rs +++ b/tests/number.rs @@ -153,9 +153,13 @@ test!( "a {\n color: -1e;\n}\n" ); error!( - scientific_notation_nothing_after_dash, + scientific_notation_nothing_after_dash_in_style, "a {\n color: 1e-;\n}\n", "Error: Expected digit." ); +error!( + scientific_notation_nothing_after_dash, + "a {\n color: 1e-", "Error: Expected digit." +); error!( scientific_notation_whitespace_after_dash, "a {\n color: 1e- 2;\n}\n", "Error: Expected digit."