jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/jade/mixin_feature.test
2016-02-03 18:00:01 -05:00

35 lines
529 B
Plaintext

mixin foo
mixin pet(name)
+foo
+pet('cat')
----------------------------------------------------
[
["mixin", [
["keyword", "mixin"],
["function", "foo"]
]],
["mixin", [
["keyword", "mixin"],
["function", "pet"],
["punctuation", "("],
"name",
["punctuation", ")"]
]],
["mixin", [
["name", "+foo"]
]],
["mixin", [
["name", "+pet"],
["punctuation", "("],
["string", "'cat'"],
["punctuation", ")"]
]]
]
----------------------------------------------------
Checks for mixins declaration and usage.