Skip to content

Commit a33a993

Browse files
committed
Fix test
1 parent 4931feb commit a33a993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ _a, _b, _c = Val.((:a, :b, :c))
4343
@test @ballocated(@view $ca[:c]) == 0
4444
@test @ballocated(@view $cmat[:c, :c]) == 0
4545

46-
f(out, x) = (out .= x .+ x)
46+
f = (out, x) -> (out .= x .+ x)
4747
out = deepcopy(ca)
48-
@test @ballocated(f($out, $ca))
48+
@test @ballocated($f($out, $ca)) == 0
4949
end
5050

5151
@testset "Utilities" begin

0 commit comments

Comments
 (0)