Skip to content

Commit ef225c7

Browse files
authored
Add one more XCTAssert for isLeapMonth in TestDate.swift (#5080)
1 parent 018d8ef commit ef225c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Tests/Foundation/TestDate.swift

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ class TestDate : XCTestCase {
134134
XCTAssertEqual(recreatedComponents.weekOfMonth, 2)
135135
XCTAssertEqual(recreatedComponents.weekOfYear, 45)
136136
XCTAssertEqual(recreatedComponents.yearForWeekOfYear, 2017)
137+
XCTAssertEqual(recreatedComponents.isLeapMonth, false)
137138

138139
// Quarter is now supported by Calendar
139140
XCTAssertEqual(recreatedComponents.quarter, 4)

0 commit comments

Comments
 (0)