summaryrefslogtreecommitdiff
path: root/src/rust
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2020-02-09 01:10:58 +0000
committercypherpunks <cypherpunks@torproject.org>2020-02-09 01:22:45 +0000
commit955a050bd20eedbcdc2b96aa257ba30b0cfd3888 (patch)
tree4bba261df0d51b4de6133bccf79fd1b8121d28ee /src/rust
parent41d52e9cd80bfb318ec7f0969f3889d275012e37 (diff)
downloadtor-955a050bd20eedbcdc2b96aa257ba30b0cfd3888.tar.gz
tor-955a050bd20eedbcdc2b96aa257ba30b0cfd3888.zip
rust/protover: make test match test name
It was just a copypaste of the test above it. Fix on commit 15e59a1fedf47e7e689e06e5649849552d8b8c0d
Diffstat (limited to 'src/rust')
-rw-r--r--src/rust/protover/tests/protover.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rust/protover/tests/protover.rs b/src/rust/protover/tests/protover.rs
index 942fe3c6ab..cf0fb5bd3a 100644
--- a/src/rust/protover/tests/protover.rs
+++ b/src/rust/protover/tests/protover.rs
@@ -78,7 +78,7 @@ fn parse_protocol_unvalidated_with_empty() {
#[test]
#[should_panic]
fn parse_protocol_validated_with_empty() {
- let _: UnvalidatedProtoEntry = "".parse().unwrap();
+ let _: ProtoEntry = "".parse().unwrap();
}
#[test]