@@ -393,9 +393,11 @@ class TestNSCalendar: XCTestCase {
393
393
try yield ( to: block, ( . chinese, " zh_CN " , " Asia/Hong_Kong " , " 2015-04-02 07:13:22 +0800 " ) )
394
394
try yield ( to: block, ( . chinese, " zh_CN " , " Asia/Hong_Kong " , " 2014-10-16 06:12:10 +0800 " ) )
395
395
396
- #if !os(Windows)
396
+ #if !os(Windows) && !os(Linux)
397
397
// TODO: these are deprecated aliases which are unavailable on Windows,
398
398
// it is unclear if the support for the old names need to be validated.
399
+ // TODO: these aliases have been removed from recent versions of Linux
400
+ // as well
399
401
try yield ( to: block, ( . hebrew, " he_IL " , " Israel " , " 2018-12-24 05:40:43 +0200 " ) )
400
402
try yield ( to: block, ( . hebrew, " he_IL " , " Israel " , " 2019-03-22 09:23:26 +0200 " ) )
401
403
#endif
@@ -505,8 +507,9 @@ class TestNSCalendar: XCTestCase {
505
507
try yield ( to: block, ( . gregorian, " en_US " , " America/Los_Angeles " , " 2013-03-26 10:04:16 -0700 " , " 2013-03-26 00:00:00 -0700 " ) )
506
508
try yield ( to: block, ( . gregorian, " pt_BR " , " America/Sao_Paulo " , " 2013-10-20 13:10:20 -0200 " , " 2013-10-20 01:00:00 -0200 " ) ) // DST jump forward at midnight
507
509
try yield ( to: block, ( . gregorian, " pt_BR " , " America/Sao_Paulo " , " 2014-02-15 23:59:59 -0300 " , " 2014-02-15 00:00:00 -0200 " ) ) // DST jump backward
508
- #if !os(Windows)
509
- // TODO: these are deprecated aliases which are unavailable on Windows,
510
+ #if !os(Windows) && !os(Linux)
511
+ // TODO: these are deprecated aliases which are unavailable on Windows
512
+ // and updated Linux distributions,
510
513
// it is unclear if the support for the old names need to be validated.
511
514
try yield ( to: block, ( . gregorian, " pt_BR " , " Brazil/East " , " 2013-10-20 13:10:20 -0200 " , " 2013-10-20 01:00:00 -0200 " ) ) // DST jump forward at midnight
512
515
try yield ( to: block, ( . gregorian, " pt_BR " , " Brazil/East " , " 2014-02-15 23:59:59 -0300 " , " 2014-02-15 00:00:00 -0200 " ) ) // DST jump backward
@@ -751,7 +754,7 @@ class TestNSCalendar: XCTestCase {
751
754
try yield ( to: block, ( . islamic, " ar_SA " , " Asia/Riyadh " , " 2015-05-29 00:00:00 +0300 " , " 2015-05-31 00:00:00 +0300 " ) ) // islamic
752
755
try yield ( to: block, ( . islamicCivil, " ar_SA " , " Asia/Riyadh " , " 2015-05-29 00:00:00 +0300 " , " 2015-05-31 00:00:00 +0300 " ) ) // islamic-civil
753
756
try yield ( to: block, ( . chinese, " zh_CN " , " Asia/Hong_Kong " , " 2015-01-03 00:00:00 +0800 " , " 2015-01-05 00:00:00 +0800 " ) ) // chinese
754
- #if !os(Windows)
757
+ #if !os(Windows) && !os(Linux)
755
758
// TODO: these are deprecated aliases which are unavailable on Windows,
756
759
// it is unclear if the support for the old names need to be validated.
757
760
try yield ( to: block, ( . hebrew, " he_IL " , " Israel " , " 2018-03-23 00:00:00 +0200 " , " 2018-03-25 00:00:00 +0300 " ) ) // weekend with DST jump
0 commit comments