Skip to content

Commit 9fe840d

Browse files
committed
Update Layout Size Modifier Initalizer Error Fix
1 parent 6b87bc3 commit 9fe840d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Binary file not shown.

Tests/LayoutTests/LayoutModifierTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class LayoutModifierTests: XCTestCase {
1818
}
1919

2020
func testSizeModifierPartial() {
21-
let modifier = SizeModifier(width: 200, height: nil)
21+
let modifier = SizeModifier(width: 200)
2222
let result = modifier.apply(to: testFrame, in: testBounds)
2323

2424
XCTAssertEqual(result.width, 200)
@@ -77,4 +77,4 @@ class LayoutModifierTests: XCTestCase {
7777
XCTAssertEqual(result.width, 400) // 200 * 2
7878
XCTAssertEqual(result.height, 200)
7979
}
80-
}
80+
}

0 commit comments

Comments
 (0)