Skip to content

Commit 422787e

Browse files
committed
Update tests to use semantic_pass instead of scopepass
1 parent 19e6af8 commit 422787e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,7 +1692,7 @@ end
16921692
f1 = StaticLint.File("workspacemod.jl", s1, CSTParser.parse(s1, true), nothing, server)
16931693
StaticLint.setroot(f1, f1)
16941694
StaticLint.setfile(server, f1.path, f1)
1695-
StaticLint.scopepass(f1)
1695+
StaticLint.semantic_pass(f1)
16961696
server.workspacepackages["WorkspaceMod"] = f1
16971697
s2 = """
16981698
using WorkspaceMod
@@ -1702,7 +1702,7 @@ end
17021702
f2 = StaticLint.File("someotherfile.jl", s2, CSTParser.parse(s2, true), nothing, server)
17031703
StaticLint.setroot(f2, f2)
17041704
StaticLint.setfile(server, f2.path, f2)
1705-
StaticLint.scopepass(f2)
1705+
StaticLint.semantic_pass(f2)
17061706
@test StaticLint.hasref(StaticLint.getcst(f2)[1][2])
17071707
@test StaticLint.hasref(StaticLint.getcst(f2)[2])
17081708
@test StaticLint.hasref(StaticLint.getcst(f2)[3][3][1])

0 commit comments

Comments
 (0)