summaryrefslogtreecommitdiff
path: root/tests/crypt.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/crypt.ur')
-rw-r--r--tests/crypt.ur7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/crypt.ur b/tests/crypt.ur
new file mode 100644
index 0000000..e1f48c6
--- /dev/null
+++ b/tests/crypt.ur
@@ -0,0 +1,7 @@
+fun cryptIt r = return <xml><body>
+ {[crypt r.Pass "AB"]}
+</body></xml>
+
+fun main () = return <xml><body>
+ <form><textbox{#Pass}/> <submit action={cryptIt}/></form>
+</body></xml>