r6853 - dumbhippo/trunk/server/tests/com/dumbhippo/web



Author: marinaz
Date: 2007-10-31 11:42:22 -0500 (Wed, 31 Oct 2007)
New Revision: 6853

Modified:
   dumbhippo/trunk/server/tests/com/dumbhippo/web/JavascriptStringTest.java
Log:
Update escaping rules in the string test.


Modified: dumbhippo/trunk/server/tests/com/dumbhippo/web/JavascriptStringTest.java
===================================================================
--- dumbhippo/trunk/server/tests/com/dumbhippo/web/JavascriptStringTest.java	2007-10-30 20:34:15 UTC (rev 6852)
+++ dumbhippo/trunk/server/tests/com/dumbhippo/web/JavascriptStringTest.java	2007-10-31 16:42:22 UTC (rev 6853)
@@ -44,8 +44,8 @@
 			};
 		final String[] expected = {
 				"'abc'",
-				"'\\''",
-				"'\\\"'",
+				"'\\u0027'",
+				"'\\u0022'",
 				"'\\r'",
 				"'\\n'",
 				"'\\u000C'",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]