diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-09-07 12:15:46 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-09-07 12:15:46 -0400 |
commit | 1f893091967ed6a9bd8469a62ddf4017e87d563d (patch) | |
tree | 5985b4036cf586410f210927f33ac86a4c6af0f9 /tests | |
parent | f2829abe30366bc78ce8e5bd6272fac06a7f5b84 (diff) |
Error-parsing ints
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fromStringErr.ur | 3 | ||||
-rw-r--r-- | tests/fromStringErr.urp | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/fromStringErr.ur b/tests/fromStringErr.ur new file mode 100644 index 00000000..07899d02 --- /dev/null +++ b/tests/fromStringErr.ur @@ -0,0 +1,3 @@ +fun main () : transaction page = return <html><body> + 3 = {cdata (show _ (readError _ "3" : int))}<br/> +</body></html> diff --git a/tests/fromStringErr.urp b/tests/fromStringErr.urp new file mode 100644 index 00000000..9f6abbee --- /dev/null +++ b/tests/fromStringErr.urp @@ -0,0 +1,5 @@ +debug +database dbname=test +exe /tmp/webapp + +fromStringErr |