aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-12-30 10:49:42 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-12-30 10:49:42 -0500
commit493ec594ea29706c85196d1b616ab28ed3da6797 (patch)
tree5fb21e9104e07f932bbb5571766def02f7ab0813 /tests
parent4a3a2b6a133f11287b5fadd026add01eed51e2b8 (diff)
Setting a source server-side
Diffstat (limited to 'tests')
-rw-r--r--tests/reactive2.ur6
-rw-r--r--tests/reactive2.urp3
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/reactive2.ur b/tests/reactive2.ur
new file mode 100644
index 00000000..7164468e
--- /dev/null
+++ b/tests/reactive2.ur
@@ -0,0 +1,6 @@
+fun main () : transaction page =
+ x <- source <xml>TEST</xml>;
+ set x <xml>HI</xml>;
+ return <xml><body>
+ <dyn signal={signal x}/>
+ </body></xml>
diff --git a/tests/reactive2.urp b/tests/reactive2.urp
new file mode 100644
index 00000000..bdc0d1be
--- /dev/null
+++ b/tests/reactive2.urp
@@ -0,0 +1,3 @@
+debug
+
+reactive2