Skip to content

Conversation

@jbelkins
Copy link
Contributor

@jbelkins jbelkins commented Jul 10, 2025

Issue #

#1981

Description of changes

Adds test for matching ALL_STRING_EQUALS for one string.

This test verifies a bugfix in smithy-lang/smithy-swift#947.

New/existing dependencies impact assessment, if applicable

No new dependencies were added to this change.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

let subject = try WaitersClient.projectionMatcherWaiterConfig().acceptors[0]
let match = subject.evaluate(input: anInput, result: .success(output))
XCTAssertEqual(match, .success(.success(output)))
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test case above is the specific scenario that the bugfix addresses.

The other three tests here were added for completeness.

@jbelkins jbelkins requested a review from dayaffe July 10, 2025 19:18
@jbelkins jbelkins merged commit b543ead into main Jul 14, 2025
31 checks passed
@jbelkins jbelkins deleted the jbe/waiter_all_string_match_fix branch July 14, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants