diff --git a/go/ql/test/library-tests/semmle/go/Types/Aliases.ql b/go/ql/test/library-tests/semmle/go/Types/Aliases.ql index 8e234e7a381e9..79f366e37d949 100644 --- a/go/ql/test/library-tests/semmle/go/Types/Aliases.ql +++ b/go/ql/test/library-tests/semmle/go/Types/Aliases.ql @@ -1,8 +1,6 @@ import go -int countDecls(Entity e) { - result = count(Ident decl | decl = e.getDeclaration()) -} +int countDecls(Entity e) { result = count(Ident decl | decl = e.getDeclaration()) } query predicate entities(string fp, Entity e, int c, Type ty) { c = countDecls(e) and