diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-01-16 10:38:03 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-01-16 10:38:03 -0500 |
commit | fbc17fa1d962150062aa0b4839d75a27605b965e (patch) | |
tree | fe0b592698e1c2198b6af517782f7c8608065759 /tests | |
parent | 3af8bcda28c4c831cf420ebba926dd9ac1f44d71 (diff) |
Patch from Vladimir Shabanov to support crypt under OS X
Diffstat (limited to 'tests')
-rw-r--r-- | tests/crypt.ur | 7 | ||||
-rw-r--r-- | tests/crypt.urs | 1 |
2 files changed, 8 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> diff --git a/tests/crypt.urs b/tests/crypt.urs new file mode 100644 index 00000000..6ac44e0b --- /dev/null +++ b/tests/crypt.urs @@ -0,0 +1 @@ +val main : unit -> transaction page |