Skip to content

Commit 96433df

Browse files
committed
fix: shorten long lines in test to comply with linter (120 char limit)
1 parent a0da263 commit 96433df

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

chat_reasoning_test.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ func TestChatCompletionStreamChoiceDelta_ReasoningFieldSupport(t *testing.T) {
2626
expected: "This is my reasoning",
2727
},
2828
{
29-
name: "Both fields present - reasoning_content takes priority",
30-
jsonData: `{"role":"assistant","content":"Hello","reasoning_content":"Priority reasoning","reasoning":"Fallback reasoning"}`,
31-
expected: "Priority reasoning",
29+
name: "Both fields present - reasoning_content takes priority",
30+
jsonData: `{"role":"assistant","content":"Hello",` +
31+
`"reasoning_content":"Priority","reasoning":"Fallback"}`,
32+
expected: "Priority",
3233
},
3334
{
3435
name: "Only reasoning field",
@@ -76,9 +77,10 @@ func TestChatCompletionMessage_ReasoningFieldSupport(t *testing.T) {
7677
expected: "This is my reasoning",
7778
},
7879
{
79-
name: "Both fields present - reasoning_content takes priority",
80-
jsonData: `{"role":"assistant","content":"Hello","reasoning_content":"Priority reasoning","reasoning":"Fallback reasoning"}`,
81-
expected: "Priority reasoning",
80+
name: "Both fields present - reasoning_content takes priority",
81+
jsonData: `{"role":"assistant","content":"Hello",` +
82+
`"reasoning_content":"Priority","reasoning":"Fallback"}`,
83+
expected: "Priority",
8284
},
8385
{
8486
name: "Only reasoning field",

0 commit comments

Comments
 (0)