You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/SwiftlyTests/HTTPClientTests.swift
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import Testing
8
8
9
9
@Suite(.serialized)structHTTPClientTests{
10
10
@Testfunc getSwiftOrgGPGKeys()asyncthrows{
11
-
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd !=PlatformDefinition.rhel9 && pd !=PlatformDefinition.ubuntu2004 else{
11
+
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd.name!=PlatformDefinition.rhel9.name && pd.name!=PlatformDefinition.ubuntu2004.nameelse{
12
12
return
13
13
}
14
14
@@ -29,7 +29,7 @@ import Testing
29
29
}
30
30
31
31
@Testfunc getSwiftToolchain()asyncthrows{
32
-
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd !=PlatformDefinition.rhel9 && pd !=PlatformDefinition.ubuntu2004 else{
32
+
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd.name!=PlatformDefinition.rhel9.name && pd.name!=PlatformDefinition.ubuntu2004.nameelse{
33
33
return
34
34
}
35
35
@@ -62,7 +62,7 @@ import Testing
62
62
}
63
63
64
64
@Testfunc getSwiftlyRelease()asyncthrows{
65
-
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd !=PlatformDefinition.rhel9 && pd !=PlatformDefinition.ubuntu2004 else{
65
+
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd.name!=PlatformDefinition.rhel9.name && pd.name!=PlatformDefinition.ubuntu2004.nameelse{
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd !=PlatformDefinition.rhel9 && pd !=PlatformDefinition.ubuntu2004 else{
98
+
guard case let pd =tryawaitSwiftly.currentPlatform.detectPlatform(SwiftlyTests.ctx, disableConfirmation:true, platform:nil), pd.name!=PlatformDefinition.rhel9.name && pd.name!=PlatformDefinition.ubuntu2004.nameelse{
0 commit comments