Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick committed Sep 16, 2024
1 parent bcfaf79 commit 061685a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/rulesets/Base/indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ end
# On 1.6, ComposedFunction doesn't take keywords. Only affects this testing strategy, not real use.
test_rrule(collecteachslice, rand(3, 4, 5); fkwargs = (; dims = 3))
test_rrule(collecteachslice, rand(3, 4, 5); fkwargs = (; dims = (2,)))

test_rrule(collecteachslice, FooTwoField.(rand(3, 4, 5), rand(3, 4, 5)); check_inferred = false, fkwargs = (; dims = 3))
end

# Make sure pulling back an array that mixes some AbstractZeros in works right
Expand Down

0 comments on commit 061685a

Please sign in to comment.