Skip to content

Commit b5f009a

Browse files
committed
Revert "only test allocated on 1.1+"
This reverts commit bb931bb.
1 parent bb931bb commit b5f009a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/broadcasttests.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ end
8282
a = BroadcastArray(+, randn(400), randn(400))
8383
b = similar(a)
8484
copyto!(b, a)
85-
if VERSION v"1.1"
86-
@test @allocated(copyto!(b, a)) == 0
87-
end
85+
@test @allocated(copyto!(b, a)) == 0
8886
@test b == a
8987
end
9088

0 commit comments

Comments
 (0)