Revision ae683afcc4cc824dcf68251569a6cf8760e4fb6f authored by Tony Kelman on 15 March 2016, 15:43:06 UTC, committed by Tony Kelman on 15 March 2016, 15:43:06 UTC
1 parent 793526a
Raw File
test_sourcepath.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license

# source path in tasks
path = Base.source_path()::ByteString # this variable is leaked to the source script
@test endswith(path, joinpath("test","test_sourcepath.jl"))
@test yieldto(@task Base.source_path()) == path
@test isabspath(@__FILE__)
back to top