forked from phoedos/pmd
Make test classes and methods package-private
This commit is contained in:
@ -12,7 +12,7 @@ import org.junit.jupiter.api.Test;
|
||||
class ASTFunctionNodeTest extends EcmascriptParserTestBase {
|
||||
|
||||
@Test
|
||||
public void testGetBody() {
|
||||
void testGetBody() {
|
||||
ASTAstRoot node = js.parse("function foo() { var a = 'a'; }");
|
||||
ASTFunctionNode fn = node.getFirstDescendantOfType(ASTFunctionNode.class);
|
||||
assertFalse(fn.isClosure());
|
||||
|
Reference in New Issue
Block a user