summaryrefslogtreecommitdiff
path: root/test/files/run/t5514.check
diff options
context:
space:
mode:
authorAleksandar Prokopec <axel22@gmail.com>2012-05-04 17:50:39 +0200
committerAleksandar Prokopec <axel22@gmail.com>2012-05-04 18:51:34 +0200
commit37c157c91f9240b562faa437dbda18bcb435e0ee (patch)
tree0066203b1d8ba729d5de27eb324ea4a922148cee /test/files/run/t5514.check
parentf146d5826fc335ee1ca9c285d69086a7475cb71e (diff)
downloadscala-37c157c91f9240b562faa437dbda18bcb435e0ee.tar.gz
scala-37c157c91f9240b562faa437dbda18bcb435e0ee.tar.bz2
scala-37c157c91f9240b562faa437dbda18bcb435e0ee.zip
Fixes SI-5514.
The acceptIf and acceptMatch parsers now check for end of input. Review by moors.
Diffstat (limited to 'test/files/run/t5514.check')
-rw-r--r--test/files/run/t5514.check19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/files/run/t5514.check b/test/files/run/t5514.check
new file mode 100644
index 0000000000..c68f7c9029
--- /dev/null
+++ b/test/files/run/t5514.check
@@ -0,0 +1,19 @@
+constructed reader: 10
+constructed reader: 9
+constructed reader: 8
+constructed reader: 7
+constructed reader: 6
+constructed reader: 5
+constructed reader: 4
+constructed reader: 3
+constructed reader: 2
+constructed reader: 1
+constructed reader: 0
+[0.0] parsed: List(s10, s9, s8, s7, s6, s5, s4, s3, s2, s1)
+constructed reader: 10
+constructed reader: 9
+constructed reader: 8
+constructed reader: 7
+constructed reader: 6
+constructed reader: 5
+[0.0] parsed: List(s10, s9, s8, s7, s6) \ No newline at end of file