| Index: lib/src/prism/tests/languages/stylus/hexcode_feature.test
|
| diff --git a/lib/src/prism/tests/languages/stylus/hexcode_feature.test b/lib/src/prism/tests/languages/stylus/hexcode_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d85fcb9189bdc3b5eb2f3de980fa1227bd3611bd
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/stylus/hexcode_feature.test
|
| @@ -0,0 +1,29 @@
|
| +color: #fff
|
| +color: #FA3
|
| +color: #f7c111
|
| +color: #9F4ABB
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["property-declaration", [
|
| + ["property", ["color"]], ["punctuation", ":"],
|
| + ["hexcode", "#fff"]
|
| + ]],
|
| + ["property-declaration", [
|
| + ["property", ["color"]], ["punctuation", ":"],
|
| + ["hexcode", "#FA3"]
|
| + ]],
|
| + ["property-declaration", [
|
| + ["property", ["color"]], ["punctuation", ":"],
|
| + ["hexcode", "#f7c111"]
|
| + ]],
|
| + ["property-declaration", [
|
| + ["property", ["color"]], ["punctuation", ":"],
|
| + ["hexcode", "#9F4ABB"]
|
| + ]]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for hexadecimal values.
|
|
|