summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-04-29 16:23:03 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-04-29 16:23:03 -0400
commit4546d4f252f70f87ee86ad2de85f4749171efbfb (patch)
treebb0d6410bfb789b781a6d36be791f0fe1f3fe0cb /tests
parent05b7d79819dd5f006527bef7679b06868b3e0da7 (diff)
'urweb daemon start' and 'urweb daemon stop'
Diffstat (limited to 'tests')
-rw-r--r--tests/dep.urp4
-rw-r--r--tests/dep1.ur1
-rw-r--r--tests/dep2.ur1
-rw-r--r--tests/dep3.ur1
-rw-r--r--tests/dep4.ur3
5 files changed, 10 insertions, 0 deletions
diff --git a/tests/dep.urp b/tests/dep.urp
new file mode 100644
index 00000000..074f1b07
--- /dev/null
+++ b/tests/dep.urp
@@ -0,0 +1,4 @@
+dep1
+dep2
+dep3
+dep4
diff --git a/tests/dep1.ur b/tests/dep1.ur
new file mode 100644
index 00000000..dd90c563
--- /dev/null
+++ b/tests/dep1.ur
@@ -0,0 +1 @@
+val x = "Hello world"
diff --git a/tests/dep2.ur b/tests/dep2.ur
new file mode 100644
index 00000000..62cf3215
--- /dev/null
+++ b/tests/dep2.ur
@@ -0,0 +1 @@
+val y = Dep1.x
diff --git a/tests/dep3.ur b/tests/dep3.ur
new file mode 100644
index 00000000..fab407ec
--- /dev/null
+++ b/tests/dep3.ur
@@ -0,0 +1 @@
+val y = Dep1.x ^ "?!"
diff --git a/tests/dep4.ur b/tests/dep4.ur
new file mode 100644
index 00000000..7985829c
--- /dev/null
+++ b/tests/dep4.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <xml><body>
+ {[Dep2.y]}!
+</body></xml>