Skip to content

Commit ab751b9

Browse files
committed
specify error in thrown test
1 parent 19b556b commit ab751b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/interface_tests.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ end
347347
@testset "Allowed keyword test" begin
348348
f(u, p) = sum(sin.(u))
349349
prob = IntegralProblem(f, ones(3), 3ones(3))
350-
@test_throws "Unrecognized keyword arguments found." solve(prob, HCubatureJL();
351-
relztol = 1e-3,
352-
abstol = 1e-3)
350+
@test_throws Integrals.CommonKwargError((:relztol => 1e-3, :abstol => 1e-3)) solve(prob,
351+
HCubatureJL();
352+
relztol = 1e-3,
353+
abstol = 1e-3)
353354
end

0 commit comments

Comments
 (0)