summaryrefslogtreecommitdiff
path: root/tests/crypt.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-01-16 10:38:03 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-01-16 10:38:03 -0500
commit7c9b1361afcebf3d3382873dbdb5c7f2e5e7e087 (patch)
treefe0b592698e1c2198b6af517782f7c8608065759 /tests/crypt.ur
parent24796b700bb497897bdcd2671c1083f0c462906a (diff)
Patch from Vladimir Shabanov to support crypt under OS X
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 00000000..e1f48c65
--- /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>