File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Tests/FoundationEssentialsTests Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1656,8 +1656,7 @@ private final class DataTests {
16561656 span = source. span
16571657 isEmpty = span. isEmpty
16581658 #expect( !isEmpty)
1659- let count = span. count
1660- #expect( count == source. count)
1659+ #expect( span. count == source. count)
16611660 let firstElement = span [ 0 ]
16621661 #expect( firstElement == 1 )
16631662 }
@@ -1702,8 +1701,7 @@ private final class DataTests {
17021701 let i = try #require( indices. randomElement ( ) )
17031702 isEmpty = span. isEmpty
17041703 #expect( !isEmpty)
1705- count = span. count
1706- #expect( count == count)
1704+ #expect( span. count == count)
17071705 let v = UInt8 . random ( in: 10 ..< 100 )
17081706 span [ i] = v
17091707 var sub = span. extracting ( i ..< i+ 1 )
You can’t perform that action at this time.
0 commit comments