File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/src/test/java/com/kcl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public void testProgramSymbols() throws Exception {
3333 // Variable definitions in the main scope.
3434 Scope mainScope = SematicUtil .findMainPackageScope (result );
3535 // Child scopes of the main scope.
36- Assert .assertEquals (mainScope .getChildrenList ().size (), 2 );
36+ Assert .assertEquals (mainScope .getChildrenList ().size (), 3 );
3737 // Mapping AST node to Symbol type
3838 NodeRef <Stmt > stmt = program .getFirstModule ().getBody ().get (0 );
3939 Assert .assertTrue (SematicUtil .findSymbolByAstId (result , stmt .getId ()).getName ().contains ("pkg" ));
@@ -70,7 +70,7 @@ public void testProgramSymbolsWithCache() throws Exception {
7070 // Variable definitions in the main scope.
7171 Scope mainScope = SematicUtil .findMainPackageScope (result );
7272 // Child scopes of the main scope.
73- Assert .assertEquals (mainScope .getChildrenList ().size (), 2 );
73+ Assert .assertEquals (mainScope .getChildrenList ().size (), 3 );
7474 // Mapping AST node to Symbol type
7575 NodeRef <Stmt > stmt = program .getFirstModule ().getBody ().get (0 );
7676 Assert .assertTrue (SematicUtil .findSymbolByAstId (result , stmt .getId ()).getName ().contains ("pkg" ));
You can’t perform that action at this time.
0 commit comments