Commit 77e8062
Fix mock_client macro (#4013)
## Motivation and Context
There was downstream breakage (the macro was always broken, but #4001
made it more likely to happen)
## Description
- Use `$crate` to fix the issue when `mock_client` was not otherwise in
scope
- Add a test
## Testing
<!--- Please describe in detail how you tested your changes -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [ ] For changes to the smithy-rs codegen or runtime crates, I have
created a changelog entry Markdown file in the `.changelog` directory,
specifying "client," "server," or both in the `applies_to` key.
- [ ] For changes to the AWS SDK, generated SDK code, or SDK runtime
crates, I have created a changelog entry Markdown file in the
`.changelog` directory, specifying "aws-sdk-rust" in the `applies_to`
key.
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Co-authored-by: Landon James <lnj@amazon.com>1 parent a9d4f1d commit 77e8062
File tree
4 files changed
+106
-548
lines changed- rust-runtime
- aws-smithy-mocks-experimental
- src
- tests
4 files changed
+106
-548
lines changed
0 commit comments