diff options
Diffstat (limited to 'tests/rpc_unit.ur')
-rw-r--r-- | tests/rpc_unit.ur | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rpc_unit.ur b/tests/rpc_unit.ur new file mode 100644 index 00000000..befd6045 --- /dev/null +++ b/tests/rpc_unit.ur @@ -0,0 +1,8 @@ +val callme = return ((), (), "A", (), ()) + +val main : transaction page = return <xml><body> + <button value="CLICK ME" + onclick={fn _ => + (_, _, s, _, _) <- rpc callme; + alert s}/> +</body></xml> |