Skip to content

Commit 20339b3

Browse files
committed
Address nit
1 parent 53ed7e4 commit 20339b3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const init_code = quote
118118
# but code from `init_worker_code` that will be directly
119119
# called in a testset must be explicitly included in the
120120
# module namespace.
121-
using Main: complex_common_test_helper
121+
import ..complex_common_test_helper
122122
end
123123
124124
cd(test_dir) do # hide

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ end
8181
end
8282
init_code = quote
8383
using Test
84-
using Main: should_be_defined, @should_also_be_defined
84+
import ..should_be_defined, ..@should_also_be_defined
8585
end
8686

8787
testsuite = Dict(

0 commit comments

Comments
 (0)