Merge pull request '[agent/codex:gpt-5.4-mini] Read ~/spec/code/core/go/cli/RFC.md fully. Find features des...' (#80) from agent/read---spec-code-core-go-cli-rfc-md-full into dev
All checks were successful
Security Scan / security (push) Successful in 26s
All checks were successful
Security Scan / security (push) Successful in 26s
This commit is contained in:
commit
0703a5727d
2 changed files with 7 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ func NewFrame(variant string) *Frame {
|
|||
variant: variant,
|
||||
layout: Layout(variant),
|
||||
models: make(map[Region]Model),
|
||||
out: os.Stdout,
|
||||
out: os.Stderr,
|
||||
done: make(chan struct{}),
|
||||
focused: RegionContent,
|
||||
keyMap: DefaultKeyMap(),
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package cli
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"os"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
|
@ -136,6 +137,11 @@ func TestFrame_Good(t *testing.T) {
|
|||
assert.Less(t, elapsed, 200*time.Millisecond)
|
||||
assert.Contains(t, buf.String(), "timed")
|
||||
})
|
||||
|
||||
t.Run("default output goes to stderr", func(t *testing.T) {
|
||||
f := NewFrame("C")
|
||||
assert.Same(t, os.Stderr, f.out)
|
||||
})
|
||||
}
|
||||
|
||||
func TestFrame_Bad(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue