Skip to content

Commit e1c162c

Browse files
committed
Fix unit tests.
1 parent 06d06f7 commit e1c162c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

internal/knowledge/query_and_or_expression_test.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,10 @@ func TestAndOrExpression(t *testing.T) {
8181
},
8282
},
8383
},
84-
AndOrExpression{
85-
And: true,
86-
Children: []AndOrExpression{
87-
AndOrExpression{
88-
And: false,
89-
Expression: "",
90-
},
91-
},
92-
},
9384
},
9485
}
9586

9687
x, err := UnwindOrExpressions(exprs)
9788
assert.NoError(t, err)
98-
assert.Len(t, x, 4)
89+
assert.Len(t, x, 1)
9990
}

0 commit comments

Comments
 (0)