diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/show.ur | 6 | ||||
-rw-r--r-- | tests/show.urp | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/show.ur b/tests/show.ur new file mode 100644 index 00000000..6a22fe64 --- /dev/null +++ b/tests/show.ur @@ -0,0 +1,6 @@ +fun main () : transaction page = return <html><body> + 6 = {cdata (show _ 6)}<br/> + 12.34 = {cdata (show _ 12.34)}<br/> + Hi = {cdata (show _ "Hi")}<br/> + False = {cdata (show _ False)}<br/> +</body></html> diff --git a/tests/show.urp b/tests/show.urp new file mode 100644 index 00000000..fa69257a --- /dev/null +++ b/tests/show.urp @@ -0,0 +1,5 @@ +debug +database dbname=test +exe /tmp/webapp + +show |