summaryrefslogtreecommitdiff
path: root/tests/examplefiles/matlab_sample
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-07 16:10:08 +0200
committerGeorg Brandl <georg@python.org>2014-10-07 16:10:08 +0200
commit68dfb127bc105ba9b2bcadac476220ab30161da4 (patch)
tree968e28b0b29f84d8d2736eecb2829b665ddbb77d /tests/examplefiles/matlab_sample
parentc009209e777e41f987bfccc9914f6615ec6b3553 (diff)
downloadpygments-68dfb127bc105ba9b2bcadac476220ab30161da4.tar.gz
Closes #1030: recognize functions with no args in Matlab related lexers
Diffstat (limited to 'tests/examplefiles/matlab_sample')
-rw-r--r--tests/examplefiles/matlab_sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/examplefiles/matlab_sample b/tests/examplefiles/matlab_sample
index 4f61afe8..bb00b517 100644
--- a/tests/examplefiles/matlab_sample
+++ b/tests/examplefiles/matlab_sample
@@ -28,3 +28,7 @@ y = exp(x);
{%
a block comment
%}
+
+function no_arg_func
+fprintf('%s\n', 'function with no args')
+end