Skip to content

Commit aa75662

Browse files
committedMay 2, 2015
Merge pull request #11095 from JuliaLang/sjk/11092
Fix #11092
2 parents 4c95e8a + abf9283 commit aa75662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎test/reflection.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ let
147147
@test isgeneric(foo7648)
148148
@test Base.function_name(foo7648)==:foo7648
149149
@test Base.function_module(foo7648, (Any,))==TestMod7648
150-
@test functionloc(foo7648, (Any,))[1]=="reflection.jl"
150+
@test functionloc(foo7648, (Any,))[1] == abspath(joinpath(dirname(@__FILE__), "reflection.jl"))
151151
@test TestMod7648.TestModSub9475.foo7648.env.defs==@which foo7648(5)
152152
@test TestMod7648==@which foo7648
153153
@test TestMod7648.TestModSub9475==@which a9475

‎test/testdefs.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using Base.Test
22

33
function runtests(name)
44
@printf(" \033[1m*\033[0m \033[31m%-20s\033[0m", name)
5-
tt = @elapsed Core.include("$name.jl")
5+
tt = @elapsed Core.include(abspath("$name.jl"))
66
@printf(" in %6.2f seconds\n", tt)
77
nothing
88
end

0 commit comments

Comments
 (0)
Please sign in to comment.