File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,13 @@ class ThemeDecodingTests: XCTestCase {
4646 main:
4747 styles: [primary]
4848 color: green
49+ prop: red
4950 primary:
5051 tintColor: red
5152 header:
5253 styles: [main]
5354 textColor: blue
55+ prop: orange
5456 """
5557
5658 let theme = try Theme ( string: string)
@@ -59,11 +61,13 @@ class ThemeDecodingTests: XCTestCase {
5961 styles: [
6062 try StyleSelector ( selector: " header " , style: Style ( properties: [
6163 StylePropertyValue ( name: " color " , value: " green " ) ,
64+ StylePropertyValue ( name: " prop " , value: " orange " ) ,
6265 StylePropertyValue ( name: " textColor " , value: " blue " ) ,
6366 StylePropertyValue ( name: " tintColor " , value: " red " ) ,
6467 ] ) ) ,
6568 try StyleSelector ( selector: " main " , style: Style ( properties: [
6669 StylePropertyValue ( name: " color " , value: " green " ) ,
70+ StylePropertyValue ( name: " prop " , value: " red " ) ,
6771 StylePropertyValue ( name: " tintColor " , value: " red " ) ,
6872 ] ) ) ,
6973 try StyleSelector ( selector: " primary " , style: Style ( properties: [
You can’t perform that action at this time.
0 commit comments