This commit is contained in:
1 parent
2048251eff
commit
8c3d0ee31c
3 files changed
+14
-4
No files matched your search
@@ -280,8 +280,12 @@ func TestXlsxTranslateToolWithoutSandbox(t *testing.T) {
|
||||
if !result.Success {
|
||||
t.Fatalf("tool failed: %s", result.Error)
|
||||
}
|
||||
wantLink := "[D4-A08AR12000002-A3-SIP_EN.xlsx](sandbox:D4-A08AR12000002-A3-SIP_EN.xlsx)"
|
||||
if !strings.Contains(result.Output, wantLink) {
|
||||
t.Fatalf("output missing clickable file link %s: %s", wantLink, result.Output)
|
||||
}
|
||||
if !strings.Contains(result.Output, "file card") {
|
||||
t.Fatalf("output should point at the artifact card: %s", result.Output)
|
||||
t.Fatalf("output should mention the file card: %s", result.Output)
|
||||
}
|
||||
|
||||
msg := sink.messages["assistant-1"]
|
||||
|
||||
Reference in new issue
Block a user