mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
6421f146a9
This reverts commit e556a816e4.
12 lines
319 B
Go
12 lines
319 B
Go
package utils
|
|
|
|
import "testing"
|
|
|
|
func TestFormatToolFeedbackMessage(t *testing.T) {
|
|
got := FormatToolFeedbackMessage("read_file", "{\"path\":\"README.md\"}")
|
|
want := "\U0001f527 `read_file`\n```\n{\"path\":\"README.md\"}\n```"
|
|
if got != want {
|
|
t.Fatalf("FormatToolFeedbackMessage() = %q, want %q", got, want)
|
|
}
|
|
}
|