| Index: lib/src/prism/tests/languages/stylus/important_feature.test
|
| diff --git a/lib/src/prism/tests/languages/stylus/important_feature.test b/lib/src/prism/tests/languages/stylus/important_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..225c1e05395922be98876004c70d19c85b1569b6
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/stylus/important_feature.test
|
| @@ -0,0 +1,22 @@
|
| +color: red !important
|
| +@extend foo !optional
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["property-declaration", [
|
| + ["property", ["color"]],
|
| + ["punctuation", ":"],
|
| + " red ",
|
| + ["important", "!important"]
|
| + ]],
|
| + ["atrule-declaration", [
|
| + ["atrule", "@extend"],
|
| + " foo ",
|
| + ["important", "!optional"]
|
| + ]]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for !important and !optional.
|
|
|