File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
WooCommerce/WooCommerceTests/ViewRelated
WooFoundation/WooFoundation/Colors Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11import XCTest
2+ import WooFoundation
23@testable import WooCommerce
34
45final class MurielColorTests : XCTestCase {
Original file line number Diff line number Diff line change 11import XCTest
2+ import WooFoundation
23@testable import WooCommerce
34
45final class UIColor_Muriel_Tests : XCTestCase {
Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ public struct ColorStudio {
5252 let name : ColorStudioName
5353 let shade : ColorStudioShade
5454
55- init ( name: ColorStudioName , shade: ColorStudioShade = . shade50) {
55+ public init ( name: ColorStudioName , shade: ColorStudioShade = . shade50) {
5656 self . name = name
5757 self . shade = shade
5858 }
5959
60- init ( from identifier: ColorStudio , shade: ColorStudioShade ) {
60+ public init ( from identifier: ColorStudio , shade: ColorStudioShade ) {
6161 self . name = identifier. name
6262 self . shade = shade
6363 }
@@ -76,7 +76,7 @@ public struct ColorStudio {
7676 public static let celadon = ColorStudio ( name: . celadon)
7777
7878 /// The full name of the color, with required shade value
79- func assetName( ) -> String {
79+ public func assetName( ) -> String {
8080 return " \( name) \( shade) "
8181 }
8282}
You can’t perform that action at this time.
0 commit comments