diff tests/fromStringErr.ur @ 293:711aad3869d1

Error-parsing floats and bools
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 12:19:15 -0400
parents 6e665c7c96f6
children df02b09ff1ed
line wrap: on
line diff
--- a/tests/fromStringErr.ur	Sun Sep 07 12:15:46 2008 -0400
+++ b/tests/fromStringErr.ur	Sun Sep 07 12:19:15 2008 -0400
@@ -1,3 +1,5 @@
 fun main () : transaction page = return <html><body>
         3 = {cdata (show _ (readError _ "3" : int))}<br/>
+        12.12 = {cdata (show _ (readError _ "12.12" : float))}<br/>
+        True = {cdata (show _ (readError _ "True" : bool))}<br/>
 </body></html>