mirror of
https://github.com/freemkv/freemkv-keysources.git
synced 2026-10-07 18:13:11 +00:00
test(online): trim interpret_reply reachability aside to 3 lines for comment-guard
This commit is contained in:
+3
-4
@@ -1192,10 +1192,9 @@ mod tests {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// The decode POST records its reachability so the caller can classify a
|
// The decode POST records its reachability so the caller classifies a
|
||||||
// no-key from the REAL answer instead of firing a second empty probe: an
|
// no-key from the REAL answer, not a second empty probe: an HTTP answer
|
||||||
// HTTP answer (200/404/422) → `Status(code)`, a transport failure →
|
// (200/404/422) → `Status(code)`, a transport failure → `Transport`.
|
||||||
// `Transport`. This is the signal that removes autorip's redundant probe.
|
|
||||||
#[test]
|
#[test]
|
||||||
fn interpret_reply_records_the_decode_reachability() {
|
fn interpret_reply_records_the_decode_reachability() {
|
||||||
// A 200 with no entry — the service answered; record its status.
|
// A 200 with no entry — the service answered; record its status.
|
||||||
|
|||||||
Reference in New Issue
Block a user