Skip to content

Commit

Permalink
escape_string test filename (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
musm authored and tkelman committed Jun 30, 2017
1 parent e97e58f commit 08f64bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ cd(dirname(@__DIR__)) do
# clean out any previous coverage files. Don't use clean_folder because we
# need to preserve the pre-baked coverage file Coverage.jl.cov
clean_file(srcname)
cmdstr = "include(\"$srcname\"); using Base.Test; @test f2(2) == 4"
cmdstr = "include(\"$(escape_string(srcname))\"); using Base.Test; @test f2(2) == 4"
run(`$JULIA_HOME/julia --code-coverage=user -e $cmdstr`)
r = process_file(srcname, datadir)
# The next one is the correct one, but julia & JuliaParser don't insert a line number after the 1-line @doc -> test
Expand Down

0 comments on commit 08f64bc

Please sign in to comment.