From efb950dcce922f7955ff233a829324b31f26117b Mon Sep 17 00:00:00 2001 From: David Boucher Date: Wed, 28 May 2025 13:04:39 +0200 Subject: [PATCH] fix(generic-snmp): unit tests fixed --- experimental/src/compute/threshold.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/experimental/src/compute/threshold.rs b/experimental/src/compute/threshold.rs index b25c4eeae..318a692c8 100644 --- a/experimental/src/compute/threshold.rs +++ b/experimental/src/compute/threshold.rs @@ -219,7 +219,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } } @@ -236,7 +236,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } } @@ -253,7 +253,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } } @@ -270,7 +270,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } } @@ -287,7 +287,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } } @@ -337,7 +337,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } } @@ -354,7 +354,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } } @@ -371,7 +371,7 @@ mod Test { Err(err) => { assert_eq!( err.to_string(), - "Threshold: Threshold not of the form '[@]start:end'" + "Threshold: The threshold syntax must follow '[@]start:end'" ); } }