Skip to content

Commit 18f8912

Browse files
committed
Tests
1 parent ab913b8 commit 18f8912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ColorSetKit-Test/Test.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Test: XCTestCase
8080

8181
func testShared()
8282
{
83-
XCTAssertEqual( ColorSet.shared.count, 2 )
83+
XCTAssertEqual( ColorSet.shared.colors.count, 2 )
8484

8585
guard let p1 = ColorSet.shared[ "NoVariant" ] else
8686
{
@@ -182,7 +182,7 @@ class Test: XCTestCase
182182

183183
set = ColorSet( data: set.data ) ?? ColorSet()
184184

185-
XCTAssertEqual( set.count, 2 )
185+
XCTAssertEqual( set.colors.count, 2 )
186186

187187
guard let p1 = set[ "NoVariant" ] else
188188
{

0 commit comments

Comments
 (0)