summaryrefslogtreecommitdiffstats
path: root/tests/snippets/matlab/test_command_mode.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/matlab/test_command_mode.txt')
-rw-r--r--tests/snippets/matlab/test_command_mode.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/snippets/matlab/test_command_mode.txt b/tests/snippets/matlab/test_command_mode.txt
new file mode 100644
index 0000000..e9a8c11
--- /dev/null
+++ b/tests/snippets/matlab/test_command_mode.txt
@@ -0,0 +1,12 @@
+# MATLAB allows char function arguments to not be enclosed by parentheses
+# or contain quote characters, as long as they are space separated. Test
+# that one common such function is formatted appropriately.
+
+---input---
+help sin
+
+---tokens---
+'help' Name.Builtin
+' ' Text.Whitespace
+'sin' Name.Builtin
+'\n' Text.Whitespace