test for comma separated list as map key
This commit is contained in:
parent
d39a45090a
commit
10a30b4c65
11
tests/map.rs
11
tests/map.rs
@ -152,3 +152,14 @@ error!(
|
|||||||
display_map,
|
display_map,
|
||||||
"a {\n color: (a: b, c: d);\n}\n", "Error: (a: b, c: d) isn't a valid CSS value."
|
"a {\n color: (a: b, c: d);\n}\n", "Error: (a: b, c: d) isn't a valid CSS value."
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
map_comma_separated_list_as_key,
|
||||||
|
"a {\n color: map-keys(((1, 2): 3));\n}\n",
|
||||||
|
"a {\n color: 1, 2;\n}\n"
|
||||||
|
);
|
||||||
|
test!(
|
||||||
|
#[ignore = "blocked on rewriting inspect"]
|
||||||
|
map_inspect_comma_separated_list_as_key,
|
||||||
|
"a {\n color: inspect(((1, 2): 3));\n}\n",
|
||||||
|
"a {\n color: ((1, 2): 3);\n}\n"
|
||||||
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user