Skip to content

Commit ca6ba1b

Browse files
committed
one more test
1 parent cc40c2b commit ca6ba1b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package org.htmlunit;
2+
3+
import org.htmlunit.corejs.javascript.Context;
4+
import org.htmlunit.corejs.javascript.ContextFactory;
5+
import org.htmlunit.corejs.javascript.tools.shell.Global;
6+
import org.junit.jupiter.api.Test;
7+
8+
/**
9+
* @author Ronald Brill
10+
*/
11+
public class GlobalTest {
12+
13+
/**
14+
* @throws Exception if the test fails
15+
*/
16+
@Test
17+
public void test() throws Exception {
18+
try (Context ctx = ContextFactory.getGlobal().enterContext()) {
19+
new Global(ctx);
20+
};
21+
}
22+
}

0 commit comments

Comments
 (0)