@@ -18,19 +18,19 @@ final class ShapeTests: XCTestCase {
18
18
}
19
19
20
20
func testRoundedRectangle( ) throws {
21
- try assertMatch ( #"<roundedrectangle corner-radius="5" />"# , size: . init( width: 100 , height: 50 ) ) {
21
+ try assertMatch ( #"<rounded-rectangle corner-radius="5" />"# , size: . init( width: 100 , height: 50 ) ) {
22
22
RoundedRectangle ( cornerRadius: 5 )
23
23
}
24
- try assertMatch ( #"<roundedrectangle corner-width="5" corner-height="10" />"# , size: . init( width: 100 , height: 50 ) ) {
24
+ try assertMatch ( #"<rounded-rectangle corner-width="5" corner-height="10" />"# , size: . init( width: 100 , height: 50 ) ) {
25
25
RoundedRectangle ( cornerSize: . init( width: 5 , height: 10 ) )
26
26
}
27
- try assertMatch ( #"<roundedrectangle corner-width="5" corner-radius="15" />"# , size: . init( width: 100 , height: 50 ) ) {
27
+ try assertMatch ( #"<rounded-rectangle corner-width="5" corner-radius="15" />"# , size: . init( width: 100 , height: 50 ) ) {
28
28
RoundedRectangle ( cornerSize: . init( width: 5 , height: 15 ) )
29
29
}
30
- try assertMatch ( #"<roundedrectangle corner-height="5" corner-radius="15" />"# , size: . init( width: 100 , height: 50 ) ) {
30
+ try assertMatch ( #"<rounded-rectangle corner-height="5" corner-radius="15" />"# , size: . init( width: 100 , height: 50 ) ) {
31
31
RoundedRectangle ( cornerSize: . init( width: 15 , height: 5 ) )
32
32
}
33
- try assertMatch ( #"<roundedrectangle corner-radius="10" style="continuous" />"# , size: . init( width: 100 , height: 50 ) ) {
33
+ try assertMatch ( #"<rounded-rectangle corner-radius="10" style="continuous" />"# , size: . init( width: 100 , height: 50 ) ) {
34
34
RoundedRectangle ( cornerRadius: 10 , style: . continuous)
35
35
}
36
36
}
@@ -60,7 +60,7 @@ final class ShapeTests: XCTestCase {
60
60
}
61
61
62
62
func testContainerRelativeShape( ) throws {
63
- try assertMatch ( #"<containerrelativeshape />"# ) {
63
+ try assertMatch ( #"<container-relative-shape />"# ) {
64
64
ContainerRelativeShape ( )
65
65
}
66
66
}
0 commit comments