mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-25 07:25:00 +02:00
rust/protover: remove redundant test
commit 15e59a1fed
added a test
for parsing an empty string twice.
This commit is contained in:
parent
955a050bd2
commit
419ea2f813
@ -874,11 +874,6 @@ mod test {
|
|||||||
assert_protoentry_is_unparseable!("Desc=1-4294967295");
|
assert_protoentry_is_unparseable!("Desc=1-4294967295");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_protoentry_from_str_() {
|
|
||||||
assert_protoentry_is_unparseable!("");
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_protoentry_all_supported_single_protocol_single_version() {
|
fn test_protoentry_all_supported_single_protocol_single_version() {
|
||||||
let protocol: UnvalidatedProtoEntry = "Cons=1".parse().unwrap();
|
let protocol: UnvalidatedProtoEntry = "Cons=1".parse().unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user