mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
fix(generic-snmp): unit tests fixed
This commit is contained in:
parent
37edf37573
commit
efb950dcce
@ -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'"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user