summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-02-10 11:22:30 -0500
committerAdrian Thurston <thurston@complang.org>2013-02-10 11:22:30 -0500
commit61cdd8c309e7610927d4ad6f26b7585cf5631e4f (patch)
tree6a126f7d21cd5694e4804c00cf26470f783e4363
parent2ccf3932d99d1a82f12e8cccbd2c1e7f54e63bb4 (diff)
downloadcolm-copy-on-consume.tar.gz
additional test for stream pull out of the parsing codecopy-on-consume
-rw-r--r--test/pull2.exp1
-rw-r--r--test/pull2.in1
-rw-r--r--test/pull2.lm3
3 files changed, 5 insertions, 0 deletions
diff --git a/test/pull2.exp b/test/pull2.exp
new file mode 100644
index 00000000..aa3a0fe0
--- /dev/null
+++ b/test/pull2.exp
@@ -0,0 +1 @@
+this is in
diff --git a/test/pull2.in b/test/pull2.in
new file mode 100644
index 00000000..f4d2e4a0
--- /dev/null
+++ b/test/pull2.in
@@ -0,0 +1 @@
+this is input for a non-parse pull
diff --git a/test/pull2.lm b/test/pull2.lm
new file mode 100644
index 00000000..1a18b829
--- /dev/null
+++ b/test/pull2.lm
@@ -0,0 +1,3 @@
+Stream: stream = open( 'pull2.in' 'r' )
+String: str = Stream.pull( 10 )
+print( String '\n' )