Skip to content

Commit 1fee420

Browse files
committed
fixed test code for escaping '='.
1 parent 0d4dc41 commit 1fee420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launcher/src/test/java/org/apache/spark/launcher/CommandBuilderUtilsSuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void testWindowsBatchQuoting() {
7474
assertEquals("\"a b c\"", quoteForBatchScript("a b c"));
7575
assertEquals("\"a \"\"b\"\" c\"", quoteForBatchScript("a \"b\" c"));
7676
assertEquals("\"a\"\"b\"\"c\"", quoteForBatchScript("a\"b\"c"));
77-
assertEquals("\"ab^=\"\"cd\"\"\"", quoteForBatchScript("ab=\"cd\""));
77+
assertEquals("\"ab=\"\"cd\"\"\"", quoteForBatchScript("ab=\"cd\""));
7878
assertEquals("\"a,b,c\"", quoteForBatchScript("a,b,c"));
7979
assertEquals("\"a;b;c\"", quoteForBatchScript("a;b;c"));
8080
assertEquals("\"a,b,c\\\\\"", quoteForBatchScript("a,b,c\\"));

0 commit comments

Comments
 (0)