Skip to content

Commit 7346190

Browse files
authored
chore: use more fitting ignore case method (#5980)
1 parent 7e03817 commit 7346190

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tool/subcommands/api_cmd/api_compare_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3084,7 +3084,7 @@ fn evaluate_test_success(
30843084
PolicyOnRejected::Pass => true,
30853085
PolicyOnRejected::PassWithIdenticalError => reason_forest == reason_lotus,
30863086
PolicyOnRejected::PassWithIdenticalErrorCaseInsensitive => {
3087-
reason_forest.to_lowercase() == reason_lotus.to_lowercase()
3087+
reason_forest.eq_ignore_ascii_case(reason_lotus)
30883088
}
30893089
PolicyOnRejected::PassWithQuasiIdenticalError => {
30903090
reason_lotus.contains(reason_forest) || reason_forest.contains(reason_lotus)

0 commit comments

Comments
 (0)