diff options
Diffstat (limited to 'tests/cffi.ur')
-rw-r--r-- | tests/cffi.ur | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cffi.ur b/tests/cffi.ur index bcb9944c..89dc9906 100644 --- a/tests/cffi.ur +++ b/tests/cffi.ur @@ -3,9 +3,9 @@ fun printer () = Test.foo fun effect () = Test.print; return <xml><body> - <button value="Remote" onclick={printer ()}/> - <button value="Local" onclick={Test.bar "Hoho"}/> - <button value="Either" onclick={Test.print}/> + <button value="Remote" onclick={fn _ => rpc (printer ())}/> + <button value="Local" onclick={fn _ => Test.bar "Hoho"}/> + <button value="Either" onclick={fn _ => Test.print}/> </body></xml> fun xact () = |