Skip to content

Commit e36f82a

Browse files
tkfjw3126
authored andcommitted
Fix test_staticarrays.jl (#33)
1 parent acd19fa commit e36f82a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_staticarrays.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ using StaticArrays
33
obj = StaticArrays.@SMatrix [1 2; 3 4]
44
l = @lens _[2,1]
55
@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]
6+
@test set(l, obj, 5) == StaticArrays.@SMatrix [1 2; 5 4]
7+
@test setindex(obj, 5, 2, 1) == StaticArrays.@SMatrix [1 2; 5 4]
88

99
v = @SVector [1,2,3]
1010
@test (@set v[1] = 10) === @SVector [10,2,3]

0 commit comments

Comments
 (0)