test(protocol): align handshake fixtures with 1.0 floor and clarify v2/v3 naming

This commit is contained in:
“haonan” authored and GitHub committed 2026-08-22 17:01:15 +08:00
1 parent ab5c6d414a
commit b473ed0ce8
12 files changed
+15 -13

No files matched your search

+2 -2
View File
@@ -93,7 +93,7 @@ async fn handshake_as_ext(ws: &mut TestWs) -> HandshakeResult {
version: "131.0".into(),
},
min_compatible_peer: Some("0.1.0-dev.0".parse().unwrap()),
min_compatible_protocol: Some("1.1".into()),
min_compatible_protocol: Some("1.0".into()),
label: "Test".into(),
};
let req = RequestFrame {
@@ -765,7 +765,7 @@ async fn connect_second_ext(
version: "130".into(),
},
min_compatible_peer: Some("0.1.0-dev.0".parse().unwrap()),
min_compatible_protocol: Some("1.1".into()),
min_compatible_protocol: Some("1.0".into()),
label: label.into(),
};
let hs = RequestFrame {