Skip to content

Commit

Permalink
fix: update unit tests to conform to error (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
kneekey23 authored Jul 20, 2021
1 parent 129893b commit 076ffe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Ec2QueryHttpResponseBindingErrorGeneratorTests {
contents.shouldSyntacticSanityCheck()
val expectedContents =
"""
public enum GreetingWithErrorsOutputError: Equatable {
public enum GreetingWithErrorsOutputError: Swift.Error, Equatable {
case complexError(ComplexError)
case invalidGreeting(InvalidGreeting)
case unknown(UnknownAWSHttpServiceError)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AWSRestXMLHttpResponseBindingErrorGeneratorTests {
contents.shouldSyntacticSanityCheck()
val expectedContents =
"""
public enum GreetingWithErrorsOutputError: Equatable {
public enum GreetingWithErrorsOutputError: Swift.Error, Equatable {
case complexXMLError(ComplexXMLError)
case invalidGreeting(InvalidGreeting)
case unknown(UnknownAWSHttpServiceError)
Expand Down

0 comments on commit 076ffe4

Please sign in to comment.