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 {
378378 }
379379
380380 func test_expectedTimeZone( ) {
381- let gmt = TimeZone ( abbreviation: DEFAULT_TIMEZONE)
382381 let newYork = TimeZone ( identifier: " America/New_York " ) !
383382 let losAngeles = TimeZone ( identifier: " America/Los_Angeles " ) !
384383
@@ -397,8 +396,10 @@ class TestDateFormatter: XCTestCase {
397396 // it would benefit from a more specific test that fails when
398397 // TimeZone.current is GMT as well.
399398 // (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())
402403
403404 // Case 2: New York
404405 f. timeZone = newYork
You can’t perform that action at this time.
0 commit comments