Skip to content

Commit

Permalink
Add assertion the sizes of the sets are equal
Browse files Browse the repository at this point in the history
This commit addresses #3859 (comment)
  • Loading branch information
ysaito1001 committed Oct 3, 2024
1 parent 0c10011 commit 1dbf37a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/sdk/integration-tests/ec2/tests/paginators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ fn validate_query_string(expected: &str, actual: &str) {
let expected = expected.split('&').collect::<HashSet<&str>>();
let actual = actual.split('&').collect::<HashSet<&str>>();
assert_eq!(expected, actual);
assert_eq!(expected.len(), actual.len());
}

/// See https://github.com/awslabs/aws-sdk-rust/issues/391
Expand Down

0 comments on commit 1dbf37a

Please sign in to comment.