summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.ma
diff options
context:
space:
mode:
authormadereth <madereth@Matts-MacBook-Pro.local>2013-10-13 13:46:17 -0400
committermadereth <madereth@Matts-MacBook-Pro.local>2013-10-13 13:46:17 -0400
commitd5db9bdc770a09cf41976fe39a9f982bd79636af (patch)
tree90e1301bf806f0a2d15a9c017b087bcadf1a24e9 /tests/examplefiles/example.ma
parentf26c8b48637b7309391d3833f3abc8f4715076ff (diff)
downloadpygments-d5db9bdc770a09cf41976fe39a9f982bd79636af.tar.gz
Simple test for MathematicaLexer
Diffstat (limited to 'tests/examplefiles/example.ma')
-rw-r--r--tests/examplefiles/example.ma8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examplefiles/example.ma b/tests/examplefiles/example.ma
new file mode 100644
index 00000000..a8119ea5
--- /dev/null
+++ b/tests/examplefiles/example.ma
@@ -0,0 +1,8 @@
+1 + 1 (* This is a comment *)
+Global`
+SomeNamespace`Foo
+f[x_, y__, 3, z___] := tsneirsnteintie "fosrt" neisnrteiasrn
+E + 3
+Plus[1,Times[2,3]]
+Map[#1 + #2&, SomePairList]
+Plus[1.,-1,-1.,-1.0,] \ No newline at end of file