File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,6 @@ class TestDateFormatter: XCTestCase {
378
378
}
379
379
380
380
func test_expectedTimeZone( ) {
381
- let gmt = TimeZone ( abbreviation: DEFAULT_TIMEZONE)
382
381
let newYork = TimeZone ( identifier: " America/New_York " ) !
383
382
let losAngeles = TimeZone ( identifier: " America/Los_Angeles " ) !
384
383
@@ -397,8 +396,10 @@ class TestDateFormatter: XCTestCase {
397
396
// it would benefit from a more specific test that fails when
398
397
// TimeZone.current is GMT as well.
399
398
// (ex. TestTimeZone.test_systemTimeZoneName)
400
- f. timeZone = TimeZone . current
401
- XCTAssertEqual ( f. string ( from: now) , TimeZone . current. abbreviation ( ) )
399
+
400
+ // Disabled because of: https://bugs.swift.org/browse/SR-8994
401
+ // f.timeZone = TimeZone.current
402
+ // XCTAssertEqual(f.string(from: now), TimeZone.current.abbreviation())
402
403
403
404
// Case 2: New York
404
405
f. timeZone = newYork
You can’t perform that action at this time.
0 commit comments