[OpenLayers-Commits] r7321 - trunk/openlayers/tests

commits at openlayers.org commits at openlayers.org
Fri Jun 6 03:09:55 EDT 2008


Author: tschaub
Date: 2008-06-06 03:09:55 -0400 (Fri, 06 Jun 2008)
New Revision: 7321

Modified:
   trunk/openlayers/tests/xml_eq.js
Log:
adding quotes for clarity in failure messages

Modified: trunk/openlayers/tests/xml_eq.js
===================================================================
--- trunk/openlayers/tests/xml_eq.js	2008-06-06 03:11:37 UTC (rev 7320)
+++ trunk/openlayers/tests/xml_eq.js	2008-06-06 07:09:55 UTC (rev 7321)
@@ -83,7 +83,7 @@
             expected = "null";
         }
         if(got != expected) {
-            throw msg + ": got " + got + " but expected " + expected;
+            throw msg + ": got '" + got + "' but expected '" + expected + "'";
         }
     }
     



More information about the Commits mailing list