Skip to content

Commit 830899c

Browse files
committed
docs
1 parent 06ef7b8 commit 830899c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

apps/docusaurus/zeusfyi/docs/mockingbird/evals/auto_eval.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -453,14 +453,14 @@ func EvaluateBooleanArray(array []bool, expected bool) ([]bool, error) {
453453
}
454454

455455
func GetStringEvalComparisonResult(operator string, actual, expected string) bool {
456-
switch operator {
457-
case "equals-one-from-list":
458-
acceptable := strings.Split(expected, ",")
459-
for _, a := range acceptable {
460-
if actual == a {
461-
return true
462-
}
463-
}
456+
switch operator {
457+
case "equals-one-from-list":
458+
acceptable := strings.Split(expected, ",")
459+
for _, a := range acceptable {
460+
if actual == a {
461+
return true
462+
}
463+
}
464464
case "contains":
465465
if strings.Contains(actual, expected) {
466466
return true

0 commit comments

Comments
 (0)