summaryrefslogtreecommitdiff
path: root/src/rust/protover/protover.rs
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-12 17:24:41 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-12 17:24:41 -0400
commitf8d5fb42a392a764da9f46102583ea2dff960939 (patch)
treed7ccac57b585ddd9f110497a56d6ef203b00c7a7 /src/rust/protover/protover.rs
parent73ba308d3d568eac81da358c4df29fda3f32e921 (diff)
parent4fa46fca8e71e085883dab6183df498759bc439f (diff)
downloadtor-f8d5fb42a392a764da9f46102583ea2dff960939.tar.gz
tor-f8d5fb42a392a764da9f46102583ea2dff960939.zip
Merge branch 'maint-0.3.3' into maint-0.3.4
Diffstat (limited to 'src/rust/protover/protover.rs')
-rw-r--r--src/rust/protover/protover.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs
index d6ed2739fe..d6a5ad34be 100644
--- a/src/rust/protover/protover.rs
+++ b/src/rust/protover/protover.rs
@@ -852,10 +852,10 @@ mod test {
#[test]
fn test_protoentry_all_supported_unsupported_low_version() {
- let protocols: UnvalidatedProtoEntry = "Cons=0-1".parse().unwrap();
+ let protocols: UnvalidatedProtoEntry = "HSIntro=2-3".parse().unwrap();
let unsupported: Option<UnvalidatedProtoEntry> = protocols.all_supported();
assert_eq!(true, unsupported.is_some());
- assert_eq!("Cons=0", &unsupported.unwrap().to_string());
+ assert_eq!("HSIntro=2", &unsupported.unwrap().to_string());
}
#[test]