Skip to content

Commit f6e27aa

Browse files
committed
test bugs
1 parent 474fbf2 commit f6e27aa

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/unzipped.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
using ChainRules: unzip_broadcast, unzip #, unzip_map
33

4-
@testset "unzip_broadcast.jl" begin
4+
@testset "unzipped.jl" begin
55
@testset "basics: $(sprint(show, fun))" for fun in [unzip_broadcast, unzipmap, unzipbroadcast] # unzip_map,
66
@test_throws Exception fun(sqrt, 1:3)
77

@@ -16,10 +16,8 @@ using ChainRules: unzip_broadcast, unzip #, unzip_map
1616
else
1717
@test fun(tuple, [1,2,3], [4 5]) == ([1 1; 2 2; 3 3], [4 5; 4 5; 4 5])
1818
end
19-
20-
if fun == unzip_map
21-
@test_broken fun(tuple, (1,2,3), (4,5,6)) == ((1, 2, 3), (4, 5, 6))
22-
elseif fun == unzipmap
19+
20+
if fun == unzipmap
2321
@test fun(tuple, (1,2,3), (4,5,6)) == ((1, 2, 3), (4, 5, 6))
2422
else
2523
@test fun(tuple, (1,2,3), (4,5,6)) == ((1, 2, 3), (4, 5, 6))

0 commit comments

Comments
 (0)