Skip to content

Commit

Permalink
Handle additional OSes in user agent tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins committed Dec 5, 2023
1 parent b2ddc97 commit 8003b10
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ class AWSUseragentMetadataTests: XCTestCase {
expected = "aws-sdk-swift/1.2.3 ua/2.0 api/test_service#1.2.3 os/macos#11.4 lang/swift#9.9"
case .iOS:
expected = "aws-sdk-swift/1.2.3 ua/2.0 api/test_service#1.2.3 os/ios#11.4 lang/swift#9.9"
case .tvOS:
expected = "aws-sdk-swift/1.2.3 ua/2.0 api/test_service#1.2.3 os/tvos#11.4 lang/swift#9.9"
case .visionOS:
expected = "aws-sdk-swift/1.2.3 ua/2.0 api/test_service#1.2.3 os/visionos#11.4 lang/swift#9.9"
case .watchOS:
expected = "aws-sdk-swift/1.2.3 ua/2.0 api/test_service#1.2.3 os/watchgit add os#11.4 lang/swift#9.9"
case .unknown:
expected = "aws-sdk-swift/1.2.3 ua/2.0 api/test_service#1.2.3 os/unknown#11.4 lang/swift#9.9"
default:
Expand Down

0 comments on commit 8003b10

Please sign in to comment.