summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 10:02:27 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 10:02:27 -0400
commit700a48cc6e78f75166b6e322207a29981782c4e3 (patch)
treeb457a00c7d51e21cfedb1ca9f1b2993d6771f74a /tests
parent1777fbbddce252990fc5055e4e5462123938483c (diff)
'error' function
Diffstat (limited to 'tests')
-rw-r--r--tests/error.ur3
-rw-r--r--tests/error.urp5
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/error.ur b/tests/error.ur
new file mode 100644
index 00000000..e5586d8d
--- /dev/null
+++ b/tests/error.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <html><body>
+ <font size={error <body>I couldn't make up my <b>mind</b>!</body>}>Hello!</font>
+</body></html>
diff --git a/tests/error.urp b/tests/error.urp
new file mode 100644
index 00000000..d6579653
--- /dev/null
+++ b/tests/error.urp
@@ -0,0 +1,5 @@
+debug
+database dbname=test
+exe /tmp/webapp
+
+error