summaryrefslogtreecommitdiff
path: root/tests/rpc_unit.ur
diff options
context:
space:
mode:
authorGravatar Simon Van Casteren <simonvancasteren@localhost.localdomain>2019-12-13 11:46:22 +0100
committerGravatar Simon Van Casteren <simonvancasteren@localhost.localdomain>2019-12-13 11:46:22 +0100
commit34bb8fae33a75868060838cda98bb46e0257ca0c (patch)
treec6c5c4dfbcc49444f14be479cf2d7e6501203878 /tests/rpc_unit.ur
parent870ce334b835614bab3f114b2aa57617f699c6be (diff)
parent2bca6e48c0ea8043c5300f4ebdefa5167e6472bf (diff)
Merge remote-tracking branch 'origin/master' into typeOf
Diffstat (limited to 'tests/rpc_unit.ur')
-rw-r--r--tests/rpc_unit.ur8
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>