mirror of
https://github.com/TwiN/gatus.git
synced 2025-02-16 18:21:07 +01:00
Minor update
This commit is contained in:
parent
bf455fb7cc
commit
dee04945d0
@ -7,15 +7,14 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestCondition_evaluate(t *testing.T) {
|
func TestCondition_evaluate(t *testing.T) {
|
||||||
type scenario struct {
|
scenarios := []struct {
|
||||||
Name string
|
Name string
|
||||||
Condition Condition
|
Condition Condition
|
||||||
Result *Result
|
Result *Result
|
||||||
DontResolveFailedConditions bool
|
DontResolveFailedConditions bool
|
||||||
ExpectedSuccess bool
|
ExpectedSuccess bool
|
||||||
ExpectedOutput string
|
ExpectedOutput string
|
||||||
}
|
}{
|
||||||
scenarios := []scenario{
|
|
||||||
{
|
{
|
||||||
Name: "ip",
|
Name: "ip",
|
||||||
Condition: Condition("[IP] == 127.0.0.1"),
|
Condition: Condition("[IP] == 127.0.0.1"),
|
||||||
|
Loading…
Reference in New Issue
Block a user