Skip to content

Commit 84fb621

Browse files
committed
Fix a couple of depwarns on 0.6.0
1 parent 6c426db commit 84fb621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/core.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ A2 = map(f1, A)
218218
@test A2.axes == A.axes
219219
@test A2.data == map(f1, A.data)
220220

221-
map!(~, A2)
221+
map!(~, A2, A2)
222222
@test isa(A2, AxisArray)
223223
@test A2.axes == A.axes
224-
@test A2.data == ~map(f1, A).data
224+
@test A2.data == map(~, map(f1, A).data)
225225

226226
A2 = map(+, A, A)
227227
@test isa(A2, AxisArray)

0 commit comments

Comments
 (0)