summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-01-10 22:08:47 +0100
committerGeorg Brandl <georg@python.org>2013-01-10 22:08:47 +0100
commit9cb1d1bf01faebecd931a52624189866497309c6 (patch)
tree4cda4b0d77de288d0d4131ef323b86007ad98b9a /tests
parent77ba79b75a2660af2cfd8ae9a072b9d56ccd961d (diff)
parent2b9b06b9ef49e0d495fef410e78a7723ddbde9d5 (diff)
downloadpygments-9cb1d1bf01faebecd931a52624189866497309c6.tar.gz
Merged in waywardmonkeys/pygments-main (pull request #149: [dylan] Add DylanConsoleLexer.)
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/classes.dylan2
-rw-r--r--tests/examplefiles/session.dylan-console9
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/examplefiles/classes.dylan b/tests/examplefiles/classes.dylan
index 7bb88faa..83faf69c 100644
--- a/tests/examplefiles/classes.dylan
+++ b/tests/examplefiles/classes.dylan
@@ -121,3 +121,5 @@ define macro with-decoded-seconds
}
end macro;
+let x = "This size call should be seen as a builtin despite the odd case.".siZe;
+
diff --git a/tests/examplefiles/session.dylan-console b/tests/examplefiles/session.dylan-console
new file mode 100644
index 00000000..6f289c8e
--- /dev/null
+++ b/tests/examplefiles/session.dylan-console
@@ -0,0 +1,9 @@
+? 7 * 52;
+=> 364
+? define variable *your-variable* = $foo;
+? begin
+ let yours = "apple";
+ let mine = yours;
+ mine == yours;
+ end;
+=> #t