Skip to content

Commit 82e1bd7

Browse files
committed
fix test errors
1 parent 0389ff5 commit 82e1bd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/arrayops.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,8 +2279,8 @@ end
22792279
@test accumulate((acc, x) -> acc+x[1], 0, [(1,2), (3,4), (5,6)]) == [1, 4, 9]
22802280
@test accumulate(*, ['a', 'b']) == ["a", "ab"]
22812281
@inferred accumulate(*, String[])
2282-
@test accumulate(*, ['a' 'b'; 'c' 'd'], 1) == ["a" "b"; "ac" "bd"]
2283-
@test accumulate(*, ['a' 'b'; 'c' 'd'], 2) == ["a" "ab"; "c" "cd"]
2282+
@test accumulate(*, ['a' 'b'; 'c' 'd'], dims=1) == ["a" "b"; "ac" "bd"]
2283+
@test accumulate(*, ['a' 'b'; 'c' 'd'], dims=2) == ["a" "ab"; "c" "cd"]
22842284
end
22852285

22862286
struct F21666{T <: Base.ArithmeticStyle}

0 commit comments

Comments
 (0)