Skip to content

Commit 076ffe4

Browse files
authored
fix: update unit tests to conform to error (#264)
1 parent 129893b commit 076ffe4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query/Ec2QueryHttpResponseBindingErrorGeneratorTests.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Ec2QueryHttpResponseBindingErrorGeneratorTests {
1616
contents.shouldSyntacticSanityCheck()
1717
val expectedContents =
1818
"""
19-
public enum GreetingWithErrorsOutputError: Equatable {
19+
public enum GreetingWithErrorsOutputError: Swift.Error, Equatable {
2020
case complexError(ComplexError)
2121
case invalidGreeting(InvalidGreeting)
2222
case unknown(UnknownAWSHttpServiceError)

codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/restxml/AWSRestXMLHttpResponseBindingErrorGeneratorTests.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AWSRestXMLHttpResponseBindingErrorGeneratorTests {
1717
contents.shouldSyntacticSanityCheck()
1818
val expectedContents =
1919
"""
20-
public enum GreetingWithErrorsOutputError: Equatable {
20+
public enum GreetingWithErrorsOutputError: Swift.Error, Equatable {
2121
case complexXMLError(ComplexXMLError)
2222
case invalidGreeting(InvalidGreeting)
2323
case unknown(UnknownAWSHttpServiceError)

0 commit comments

Comments
 (0)