Skip to content

Commit b2d0771

Browse files
author
Miha Zgubic
committed
fix test
1 parent ffe7624 commit b2d0771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ end
607607
wrong3(::typeof(only2x), x, y) = only2x(x, y), Δ -> (NoTangent(), 2Δ)
608608

609609
test_rrule(only2x, 2.0, 3.0; rrule_f=custom, check_inferred=false)
610-
@test fails(() -> test_rrule(only2x, 2.0, 3.0; rrule_f=wrong1, check_inferred=false))
610+
@test errors(() -> test_rrule(only2x, 2.0, 3.0; rrule_f=wrong1, check_inferred=false))
611611
@test fails(() -> test_rrule(only2x, 2.0, 3.0; rrule_f=wrong2, check_inferred=false))
612612
@test fails(() -> test_rrule(only2x, 2.0, 3.0; rrule_f=wrong3, check_inferred=false))
613613
end

0 commit comments

Comments
 (0)