Skip to content

Commit 1dd9345

Browse files
committed
use first not only in tests for 1.0 compat
1 parent dc116fd commit 1dd9345

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/ruleset_loading.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
@testset "_is_fallback" begin
7474
_is_fallback = ChainRulesOverloadGeneration._is_fallback
75-
@test _is_fallback(rrule, only(methods(rrule, (Nothing,))))
76-
@test _is_fallback(frule, only(methods(frule, (Nothing,))))
75+
@test _is_fallback(rrule, first(methods(rrule, (Nothing,))))
76+
@test _is_fallback(frule, first(methods(frule, (Nothing,))))
7777
end
7878
end

0 commit comments

Comments
 (0)