We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd19fa commit e36f82aCopy full SHA for e36f82a
test/test_staticarrays.jl
@@ -3,8 +3,8 @@ using StaticArrays
3
obj = StaticArrays.@SMatrix [1 2; 3 4]
4
l = @lens _[2,1]
5
@test get(l, obj) == 3
6
-@test_broken set(l, obj, 5) == StaticArrays.@SMatrix [1 2; 5 4]
7
-@test_broken setindex(obj, 5, 2, 1) == StaticArrays.@SMatrix [1 2; 5 4]
+@test set(l, obj, 5) == StaticArrays.@SMatrix [1 2; 5 4]
+@test setindex(obj, 5, 2, 1) == StaticArrays.@SMatrix [1 2; 5 4]
8
9
v = @SVector [1,2,3]
10
@test (@set v[1] = 10) === @SVector [10,2,3]
0 commit comments