[tor-commits] [tor/master] rust/protover: make test match test name

nickm at torproject.org nickm at torproject.org
Mon Aug 3 12:57:43 UTC 2020


commit 955a050bd20eedbcdc2b96aa257ba30b0cfd3888
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Sun Feb 9 01:10:58 2020 +0000

    rust/protover: make test match test name
    
    It was just a copypaste of the test above it.
    
    Fix on commit 15e59a1fedf47e7e689e06e5649849552d8b8c0d
---
 src/rust/protover/tests/protover.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]





More information about the tor-commits mailing list