summaryrefslogtreecommitdiff
path: root/tests/button.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-08-17 15:56:43 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2014-08-17 15:56:43 -0400
commit9d5a3fda0d7a4e9c7e37ef39167136b3e3592a9e (patch)
tree4ac642ab34465869ba19d120e83b8c270b0547ea /tests/button.ur
parent3ca2bc2e448b4e41a0d2fe9bfe642b2f8935794a (diff)
A new test for <button>
Diffstat (limited to 'tests/button.ur')
-rw-r--r--tests/button.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/button.ur b/tests/button.ur
new file mode 100644
index 00000000..febcb0c9
--- /dev/null
+++ b/tests/button.ur
@@ -0,0 +1,4 @@
+fun main () : transaction page = return <xml><body>
+ <button onclick={fn _ => alert "AHOY"}><b>CLICK IT</b></button>
+</body></xml>
+