Skip to content

Commit 25bfa14

Browse files
committed
fix sw test
1 parent ba1c735 commit 25bfa14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_sw.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
# using Pkg; Pkg.activate(@__DIR__() * "/..")
3+
# using TestEnv; TestEnv.activate()
34

45
##
56

@@ -24,7 +25,7 @@ D = JSON.parsefile(joinpath(@__DIR__(), "data", "test_sw.json"))
2425
tests = D["tests"]
2526

2627
# the argument t should be a tests[i]
27-
function read_test(t::Dict)
28+
function read_test(t::AbstractDict)
2829
Rs = SVector{3, Float64}.(t["Rs"])
2930
Zs = Int.(t["Zs"])
3031
z0 = Int(t["z0"])

0 commit comments

Comments
 (0)