style: rustfmt doctor protocol-version test asserts

cargo fmt --check failed on two long assert lines in PR CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
“haonan”
2026-08-27 22:50:01 +08:00
co-authored by Cursor
parent 3bbd6ab19f
commit c48a53269e
+9 -2
View File
@@ -606,8 +606,15 @@ mod m2_tests {
let check = check_browsers_protocol_compatible(Some(&status));
assert_eq!(check.status, CheckStatus::Ok);
assert!(check.detail.contains("alpha"));
assert!(check.detail.contains("still usable — continue, and upgrade soon"));
assert!(check.hint.is_none(), "a protocol-version note must not hint to stop");
assert!(
check
.detail
.contains("still usable — continue, and upgrade soon")
);
assert!(
check.hint.is_none(),
"a protocol-version note must not hint to stop"
);
}
#[test]