Commit 6279f8f
committed
test(rust): drop the raw-hyper_util duplicate of the 2xx-not-200 tripwire
hyper_util_still_refuses_a_2xx_that_is_not_200 (tests/upstream_tunnel.rs) called Tunnel
directly, with none of this crate's own code involved, to pin the same known defect
known_issue_a_success_other_than_200_does_not_open_the_tunnel (tests/proxy.rs) already pins
through the full stack - config, connect, ProxyConnector, translate(). Both go red the day
hyper-util fixes it; the proxy.rs one is strictly more informative, since it also proves this
crate's own error translation still reacts correctly. Kept that one, dropped the raw
duplicate.
The other two tests in upstream_tunnel.rs stay: the control, and the split-status-line case,
which has no equivalent in tests/proxy.rs.
Updated the file's module doc and the remaining test's panic message, which both referenced
the removed test. Corrected the README's "Known issues" intro, which claimed every pinning
test is named known_issue_*: the upstream_tunnel.rs ones never were.1 parent f09d99d commit 6279f8f
2 files changed
Lines changed: 7 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 96 | | |
118 | 97 | | |
119 | 98 | | |
| |||
125 | 104 | | |
126 | 105 | | |
127 | 106 | | |
128 | | - | |
129 | | - | |
| 107 | + | |
130 | 108 | | |
131 | 109 | | |
132 | 110 | | |
| |||
0 commit comments