Skip to content

Commit 0e593ba

Browse files
committed
Fix test and undo temporary changes
1 parent 97adfe2 commit 0e593ba

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

examples/MyApp/src/MyApp.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ function real_main()
3838
@show Base.PROGRAM_FILE
3939
@show DEPOT_PATH
4040
@show LOAD_PATH
41-
try
42-
@show ENV["JULIA_DEPOT_PATH"]
43-
catch
44-
end
45-
try
46-
@show ENV["JULIA_LOAD_PATH"]
47-
catch
48-
end
4941
@show pwd()
5042
@show Base.active_project()
5143
@show Sys.BINDIR

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ end
145145
@test occursin("outputo: ok", app_output)
146146
@test occursin("myrand: ok", app_output)
147147
# Check env-provided depot and load paths are accepted
148-
@test occursin("DEPOT_PATH: [\"$test_depot_path", app_output)
149-
@test occursin("LOAD_PATH: [\"$test_load_path", app_output)
148+
@test occursin("DEPOT_PATH = [\"$test_depot_path", app_output)
149+
@test occursin("LOAD_PATH = [\"$test_load_path", app_output)
150150
# Check distributed
151151
@test occursin("n = 20000000", app_output)
152152
@test occursin("From worker 2:\t8", app_output)

0 commit comments

Comments
 (0)