diff --git a/test/helpers_test.jl b/test/helpers_test.jl index c73a2b2..04acce8 100644 --- a/test/helpers_test.jl +++ b/test/helpers_test.jl @@ -155,7 +155,7 @@ def output { 4 } // %% name="baz", read, write def output { 6 } """ - blocks = parse_code_blocks(".", "my_code", split(code, "\n")) + blocks = parse_code_blocks(@__DIR__, "my_code", split(code, "\n")) @test length(blocks) == 6 diff --git a/test/runtests.jl b/test/runtests.jl index 6a24ffb..6a1f7af 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,3 +1,5 @@ using Test, ReTestItems, RAIRelTest -include("helpers_test.jl") +@testset begin + include("helpers_test.jl") +end