Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored Feb 28, 2024
1 parent 5f02896 commit d54c897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_functionlenses.jl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ end

# broadcasting in both optic and set, with a user-defined function
@accessor f(x) = x+1
@test (@set f.(first.(A)) .= [10, 20]) == [[9,19], [1,2,3], [1,2,3,4]]
@test (@set f.(first.(A)) .= [10, 20, 30]) == [[9,2], [19,2,3], [29,2,3,4]]
end

@testset "math" begin
Expand Down

0 comments on commit d54c897

Please sign in to comment.