[349020] [hotbug] [validation] Eclipse complains about jquery minified
JS files

Signed-off-by: Chris Jaun <cmjaun@us.ibm.com>
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java
index 586f0d9..5da47b2 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java
@@ -347,6 +347,25 @@
 		testName);
 }
 
+/**
+ * https://bugs.eclipse.org/bugs/show_bug.cgi?id=417387
+ */
+public void testCommaExpression01() {
+	String s =  "!function(){\n" +
+				"	window.alert(\"passed 1\");\n" +
+				"}(),\n" +
+				"	function(){\n" +
+				"		window.alert(\"passed 2\");\n" +
+				"}();\n" +
+				"window.alert(\"passed 3\");";
+	String testName = "<test>";
+	checkParse(
+		s.toCharArray(),
+		"",
+		testName);
+}
+
+
 public void testRegExpression01() {
 	String s = "searchStr.replace( /([!\"#$%&'()*+,./:;<=>?@[\\]^`{|}~])/g, '//' )";
 	String expectedSyntaxErrorDiagnosis = "";