Skip to content

Commit 3bae6b3

Browse files
committed
test: assert all expected explanations
1 parent 5f25bb4 commit 3bae6b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llm/binding_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ func TestExplainWithOptions(t *testing.T) {
5656
assert.NoError(t, err)
5757
expectedResExplanations := exptectedExplanationsResponse.Explanation
5858
assert.Equal(t, expectedResExplanations["explanation1"], explanation[0])
59+
assert.Equal(t, expectedResExplanations["explanation2"], explanation[1])
60+
assert.Equal(t, expectedResExplanations["explanation3"], explanation[2])
61+
assert.Equal(t, expectedResExplanations["explanation4"], explanation[3])
62+
assert.Equal(t, expectedResExplanations["explanation5"], explanation[4])
5963
})
6064

6165
t.Run("runExplain error", func(t *testing.T) {

0 commit comments

Comments
 (0)