Skip to content

Commit ccfde9e

Browse files
committed
checkstyle
1 parent 3c3ae2d commit ccfde9e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/test/java/org/htmlunit/general/huge/CtorPrototypeTest.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* limitations under the License.
1414
*/
1515
package org.htmlunit.general.huge;import java.util.ArrayList;
16+
1617
import java.util.Collection;
1718
import java.util.List;
1819
import java.util.Set;
@@ -27,7 +28,9 @@
2728
import org.junit.runner.RunWith;
2829
import org.junit.runners.Parameterized.Parameter;
2930
import org.junit.runners.Parameterized.Parameters;
30-
import org.openqa.selenium.WebDriver;/**
31+
import org.openqa.selenium.WebDriver;
32+
33+
/**
3134
* Tests the prototype.
3235
*
3336
* @author Ronald Brill
@@ -82,10 +85,12 @@ protected void test(final String jsClassName) throws Exception {
8285
+ "<title>-</title>\n"
8386
+ "</head>\n"
8487
+ "<body>\n"
85-
+ "<script>\n" + " function check(c) {\n"
88+
+ "<script>\n"
89+
+ " function check(c) {\n"
8690
+ " detector = function() {};\n"
8791
+ " return (Object.getPrototypeOf(c) === Function.prototype);\n"
88-
+ " }\n" + " try {\n"
92+
+ " }\n"
93+
+ " try {\n"
8994
+ " document.title = check(" + jsClassName + ");\n"
9095
+ " } catch(e) { document.title = 'exception'; }\n"
9196
+ "</script>\n"

0 commit comments

Comments
 (0)