Skip to content

Commit 65a32f5

Browse files
committed
add test
1 parent 4229760 commit 65a32f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/lib/lib.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
t2 = (a=1, b=2)
55
@test Zygote.accum(t1, t2) == (a = 2, b = 4, c = 3)
66
@test_throws ArgumentError Zygote.accum(t2, t1)
7+
@test Zygote.accum(fill(0.0), fill(0.0)) == fill(0.0)
78
end
89
end

0 commit comments

Comments
 (0)