| Index: lib/src/prism/tests/languages/matlab/comment_feature.test
|
| diff --git a/lib/src/prism/tests/languages/matlab/comment_feature.test b/lib/src/prism/tests/languages/matlab/comment_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..533e2f8f7baf9650fee0f68d8f07761ab91e8995
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/matlab/comment_feature.test
|
| @@ -0,0 +1,16 @@
|
| +% foobar
|
| +%{}%
|
| +%{ foo
|
| +bar }%
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["comment", "% foobar"],
|
| + ["comment", "%{}%"],
|
| + ["comment", "%{ foo\r\nbar }%"]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for single-line and multi-line comments.
|
|
|