Skip to content

Commit d143866

Browse files
committed
fix tests
1 parent 5de097b commit d143866

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/interface/ode_strip_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ vern_sol = solve(prob, Vern7())
2121
end
2222

2323
@testset "Rosenbrock Solution Stripping" begin
24-
@test isnothing(SciMLBase.strip_solution(rosenbrock_sol).f)
24+
@test SciMLBase.strip_solution(rosenbrock_sol).prob isa NamedTuple
2525
@test isnothing(SciMLBase.strip_solution(rosenbrock_sol, strip_alg = true).alg)
2626
@test isnothing(SciMLBase.strip_solution(rosenbrock_sol).interp.f)
2727
@test isnothing(SciMLBase.strip_solution(rosenbrock_sol).interp.cache.jac_config)
@@ -31,7 +31,7 @@ end
3131
end
3232

3333
@testset "TRBDF Solution Stripping" begin
34-
@test isnothing(SciMLBase.strip_solution(TRBDF_sol).f)
34+
@test SciMLBase.strip_solution(TRBDF_sol).prob isa NamedTuple
3535
@test isnothing(SciMLBase.strip_solution(TRBDF_sol, strip_alg = true).alg)
3636
@test isnothing(SciMLBase.strip_solution(TRBDF_sol).interp.f)
3737
@test isnothing(SciMLBase.strip_solution(TRBDF_sol).interp.cache.nlsolver)

0 commit comments

Comments
 (0)