[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 955a050bd20eedbcdc2b96aa257ba30b0cfd3888
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
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]



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits