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

[tor-commits] [tor/master] rust/protover: remove redundant test



commit 419ea2f813c83a2065396ac085c9525dd2e1f137
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Sun Feb 9 01:01:25 2020 +0000

    rust/protover: remove redundant test
    
    commit 15e59a1fedf47e7e689e06e5649849552d8b8c0d added a test
    for parsing an empty string twice.
---
 src/rust/protover/protover.rs | 5 -----
 1 file changed, 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
@@ -874,11 +874,6 @@ mod test {
         assert_protoentry_is_unparseable!("Desc=1-4294967295");
     }
 
-    #[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();



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