fixed some newline issues
This commit is contained in:
@@ -46,7 +46,7 @@ func TestRenderMessageReasoningGap(t *testing.T) {
|
|||||||
|
|
||||||
rendered := m.renderMessage(msg)
|
rendered := m.renderMessage(msg)
|
||||||
// Check if there is a gap between Thinking and Response
|
// Check if there is a gap between Thinking and Response
|
||||||
|
|
||||||
if !strings.Contains(rendered, "Thinking") || !strings.Contains(rendered, "Actual") || !strings.Contains(rendered, "response") {
|
if !strings.Contains(rendered, "Thinking") || !strings.Contains(rendered, "Actual") || !strings.Contains(rendered, "response") {
|
||||||
t.Errorf("rendered message missing content: %s", rendered)
|
t.Errorf("rendered message missing content: %s", rendered)
|
||||||
}
|
}
|
||||||
@@ -55,7 +55,7 @@ func TestRenderMessageReasoningGap(t *testing.T) {
|
|||||||
// We want to see if they are on adjacent lines or have a gap.
|
// We want to see if they are on adjacent lines or have a gap.
|
||||||
// The user says "next one begins immediately while it should start from a new line"
|
// The user says "next one begins immediately while it should start from a new line"
|
||||||
// This might mean it's on the SAME line if glamour messed up, or just next line.
|
// This might mean it's on the SAME line if glamour messed up, or just next line.
|
||||||
|
|
||||||
// Let's print it to see
|
// Let's print it to see
|
||||||
t.Logf("Rendered Assistant:\n%s", rendered)
|
t.Logf("Rendered Assistant:\n%s", rendered)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user