improve number parsing code coverage
This commit is contained in:
parent
117dc453e2
commit
3e2689a4cb
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user