summaryrefslogtreecommitdiff
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
commit76c5b74abd4450a6a68084e08a7a7946e0e31fe9 (patch)
tree5fb21e9104e07f932bbb5571766def02f7ab0813 /tests
parentaf2648b1927b8af2d9375120a6c7a9e3d18f215d (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