We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e03817 commit 7346190Copy full SHA for 7346190
1 file changed
src/tool/subcommands/api_cmd/api_compare_tests.rs
@@ -3084,7 +3084,7 @@ fn evaluate_test_success(
3084
PolicyOnRejected::Pass => true,
3085
PolicyOnRejected::PassWithIdenticalError => reason_forest == reason_lotus,
3086
PolicyOnRejected::PassWithIdenticalErrorCaseInsensitive => {
3087
- reason_forest.to_lowercase() == reason_lotus.to_lowercase()
+ reason_forest.eq_ignore_ascii_case(reason_lotus)
3088
}
3089
PolicyOnRejected::PassWithQuasiIdenticalError => {
3090
reason_lotus.contains(reason_forest) || reason_forest.contains(reason_lotus)
0 commit comments