diff options
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 |