Skip to content

Commit

Permalink
integration_tests: update ec2 error assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
benesch committed Jun 30, 2021
1 parent 8dcf90c commit 06f1a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/tests/ec2-instance-connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async fn send_ssh_public_key_correctly_errors_for_unknown_instance() {
}
Err(error) => match error {
RusotoError::Service(e) => match e {
SendSSHPublicKeyError::InvalidArgs(error) => assert!(
SendSSHPublicKeyError::EC2InstanceNotFound(error) => assert!(
error.contains("Instance not found"),
"Missing error message"
),
Expand Down

0 comments on commit 06f1a15

Please sign in to comment.