mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-05-07 10:06:41 +02:00
17 lines
354 B
Go
17 lines
354 B
Go
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")
|
|
}
|
|
}
|