diff tests/jserror.ur @ 727:ba4c230b7231

Show XML
author Adam Chlipala <adamc@hcoop.net>
date Thu, 16 Apr 2009 12:43:55 -0400
parents 6fc633d990e7
children
line wrap: on
line diff
--- a/tests/jserror.ur	Thu Apr 16 12:36:01 2009 -0400
+++ b/tests/jserror.ur	Thu Apr 16 12:43:55 2009 -0400
@@ -1,3 +1,3 @@
 fun main () : transaction page = return <xml>
-  <body onload={onError (fn s => alert "There was an error."); error <xml>Badder</xml>}/>
+  <body onload={onError (fn s => alert ("There was an error: " ^ show s)); error <xml>Badder</xml>}/>
 </xml>