adding quotes for clarity in failure messages

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7321 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2008-06-06 07:09:55 +00:00
parent ae52f20fc9
commit 8f593e332c

View File

@@ -83,7 +83,7 @@
expected = "null";
}
if(got != expected) {
throw msg + ": got " + got + " but expected " + expected;
throw msg + ": got '" + got + "' but expected '" + expected + "'";
}
}