Add files via upload

This commit is contained in:
公明 authored and GitHub committed 2026-08-15 01:59:13 +08:00
1 parent 01c0750d98
commit 964fbd6095
10 files changed
+1237

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package einomcp
import (
"strings"
"testing"
)
func TestUnknownToolReminderText(t *testing.T) {
s := unknownToolReminderText("bad_tool")
if !strings.Contains(s, "bad_tool") {
t.Fatalf("expected requested name in message: %s", s)
}
if strings.Contains(s, "Tools currently available") {
t.Fatal("unified message must not list tool names")
}
}