diff options
Diffstat (limited to 'tests/fromStringErr.ur')
-rw-r--r-- | tests/fromStringErr.ur | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fromStringErr.ur b/tests/fromStringErr.ur new file mode 100644 index 0000000..77fc8a2 --- /dev/null +++ b/tests/fromStringErr.ur @@ -0,0 +1,6 @@ +fun main () : transaction page = return <html><body> + 3 = {cdata (show _ (readError _ "3" : int))}<br/> + 12.12 = {cdata (show _ (readError _ "12.12" : float))}<br/> + Hi = {cdata (show _ (readError _ "Hi" : string))}<br/> + True = {cdata (show _ (readError _ "True" : bool))}<br/> +</body></html> |