Harden Go CLI subprocess behavior
This commit is contained in:
@@ -156,7 +156,7 @@ func TestRunProcessMalformedTranscriptJSON(t *testing.T) {
|
||||
if stdout.Len() != 0 {
|
||||
t.Fatalf("expected empty stdout, got %q", stdout.String())
|
||||
}
|
||||
if !strings.Contains(stderr.String(), "transcript file is not valid JSON") {
|
||||
if !strings.Contains(stderr.String(), "is not valid JSON") {
|
||||
t.Fatalf("expected malformed transcript error, got %q", stderr.String())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user