summaryrefslogtreecommitdiff
path: root/tests/ccheckbox.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ccheckbox.ur')
-rw-r--r--tests/ccheckbox.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ccheckbox.ur b/tests/ccheckbox.ur
index 09a8ece9..d70c24a5 100644
--- a/tests/ccheckbox.ur
+++ b/tests/ccheckbox.ur
@@ -1,7 +1,7 @@
fun main () : transaction page =
s <- source True;
t <- source 1;
- return <xml><body><ccheckbox source={s} onclick={set t 3}/>
+ return <xml><body><ccheckbox source={s} onclick={fn _ => set t 3}/>
<dyn signal={s <- signal s;
t <- signal t;
return <xml>{[s]} {[t]}</xml>}/>