-
- Downloads
Make order of expected/actual consistent in protocol tests (#2976)
Debugging tests is easier when the order of arguments in assertions is consistent across the board. With consistent order, you don't need to look at the line of code to know which value is the correct value. Most of the rest of the project uses expected/actual order, so this PR makes the protocol tests also use that order. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Showing
- rust-runtime/aws-smithy-client/src/test_connection.rs 1 addition, 1 deletionrust-runtime/aws-smithy-client/src/test_connection.rs
- rust-runtime/aws-smithy-protocol-test/src/lib.rs 10 additions, 10 deletionsrust-runtime/aws-smithy-protocol-test/src/lib.rs
- rust-runtime/aws-smithy-protocol-test/src/urlencoded.rs 10 additions, 10 deletionsrust-runtime/aws-smithy-protocol-test/src/urlencoded.rs
- rust-runtime/aws-smithy-protocol-test/src/xml.rs 14 additions, 12 deletionsrust-runtime/aws-smithy-protocol-test/src/xml.rs
Loading
Please register or sign in to comment