More informative failure message
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Wed, 07 Sep 2011 08:26:36 -0600
changeset 562 d724083aa605
parent 561 f2acf9b8ef05
child 563 7b1c49fcb207
More informative failure message

The normalization of inline style is confusing, so let's make sure the
failure message says "(after normalizing inline style)" so readers don't
wonder how the expected output has weird differences from what you'd
think.
conformancetest/runtest.html
--- a/conformancetest/runtest.html	Fri Sep 02 16:34:35 2011 -0600
+++ b/conformancetest/runtest.html	Wed Sep 07 08:26:36 2011 -0600
@@ -80,7 +80,7 @@
 
 		assert_equals(testDiv.innerHTML,
 			browserTest[2].replace(/[\[\]{}]/g, ""),
-			"Unexpected innerHTML");
+			"Unexpected innerHTML (after normalizing inline style)");
 	}, testName + " compare innerHTML");
 }
 </script>