From 1dbf37a5f4750f0a7833dca23a87a4ddf676b1e9 Mon Sep 17 00:00:00 2001 From: ysaito1001 Date: Thu, 3 Oct 2024 15:12:30 -0500 Subject: [PATCH] Add assertion the sizes of the sets are equal This commit addresses https://github.com/smithy-lang/smithy-rs/pull/3859#discussion_r1786751065 --- aws/sdk/integration-tests/ec2/tests/paginators.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/aws/sdk/integration-tests/ec2/tests/paginators.rs b/aws/sdk/integration-tests/ec2/tests/paginators.rs index c820ac4270..aa6a995f4f 100644 --- a/aws/sdk/integration-tests/ec2/tests/paginators.rs +++ b/aws/sdk/integration-tests/ec2/tests/paginators.rs @@ -22,6 +22,7 @@ fn validate_query_string(expected: &str, actual: &str) { let expected = expected.split('&').collect::>(); let actual = actual.split('&').collect::>(); assert_eq!(expected, actual); + assert_eq!(expected.len(), actual.len()); } /// See https://github.com/awslabs/aws-sdk-rust/issues/391