We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db10ae9 commit cbf6d34Copy full SHA for cbf6d34
gptscript_test.go
@@ -670,7 +670,7 @@ func TestParseToolWithTextNode(t *testing.T) {
670
t.Fatalf("No text node found")
671
}
672
673
- if tools[1].TextNode.Text != "hello\n" {
+ if strings.TrimSpace(tools[1].TextNode.Text) != "hello" {
674
t.Errorf("Unexpected text: %s", tools[1].TextNode.Text)
675
676
if tools[1].TextNode.Fmt != "markdown" {
0 commit comments