summaryrefslogtreecommitdiff
path: root/tests/bool.ur
diff options
context:
space:
mode:
authorGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-12-22 14:15:51 +0200
committerGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-12-22 14:15:51 +0200
commit1a39672b01dc236068475e2d1a8a6f21814cba7e (patch)
tree2c6bf98ad4b8129f8c130d24fe8f6bc78cda24fe /tests/bool.ur
parent91c0e37b0ddc8495e31bd653b8bc363fd14f4375 (diff)
More tests.
Diffstat (limited to 'tests/bool.ur')
-rw-r--r--tests/bool.ur8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/bool.ur b/tests/bool.ur
index b7e57dca..b8edbba6 100644
--- a/tests/bool.ur
+++ b/tests/bool.ur
@@ -1,8 +1,8 @@
-val page = fn b => <html><body>
+val page = fn b => return <xml><body>
{cdata (case b of False => "No!" | True => "Yes!")}
-</body></html>
+</body></xml>
-val main : unit -> page = fn () => <html><body>
+val main : unit -> transaction page = fn () => return <xml><body>
<li><a link={page True}>True</a></li>
<li><a link={page False}>False</a></li>
-</body></html>
+</body></xml>