summaryrefslogtreecommitdiff
path: root/src/rust
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2020-02-09 01:01:25 +0000
committercypherpunks <cypherpunks@torproject.org>2020-02-09 01:22:45 +0000
commit419ea2f813c83a2065396ac085c9525dd2e1f137 (patch)
tree69238fc56909f4ba61e940e394fb582e8bb1fc2b /src/rust
parent955a050bd20eedbcdc2b96aa257ba30b0cfd3888 (diff)
downloadtor-419ea2f813c83a2065396ac085c9525dd2e1f137.tar.gz
tor-419ea2f813c83a2065396ac085c9525dd2e1f137.zip
rust/protover: remove redundant test
commit 15e59a1fedf47e7e689e06e5649849552d8b8c0d added a test for parsing an empty string twice.
Diffstat (limited to 'src/rust')
-rw-r--r--src/rust/protover/protover.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs
index 2661d811c4..383a781fdc 100644
--- a/src/rust/protover/protover.rs
+++ b/src/rust/protover/protover.rs
@@ -875,11 +875,6 @@ mod test {
}
#[test]
- fn test_protoentry_from_str_() {
- assert_protoentry_is_unparseable!("");
- }
-
- #[test]
fn test_protoentry_all_supported_single_protocol_single_version() {
let protocol: UnvalidatedProtoEntry = "Cons=1".parse().unwrap();
let unsupported: Option<UnvalidatedProtoEntry> = protocol.all_supported();