Skip to content

Commit df2f935

Browse files
committed
Adjust test
1 parent 1c8bc09 commit df2f935

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/convenience.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ end
121121

122122
@testset "functionloc" begin
123123

124-
file, line = Base.functionloc(GAP.Globals.DirectoriesPackagePrograms)
125-
@test Base.samefile(file, joinpath(@__DIR__, "../gap/pkg.g"))
126-
@test line == 5
124+
file, line = Base.functionloc(GAP.Globals.BangComponent)
125+
@test Base.samefile(file, joinpath(@__DIR__, "../pkg/JuliaInterface/gap/utils.gi"))
126+
@test line == 8
127127

128128
@test_throws ArgumentError Base.functionloc(GAP.Globals.LETTERS)
129129
@test_throws ErrorException Base.functionloc(GAP.Globals.IsAbelian)

0 commit comments

Comments
 (0)