mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-04-18 15:13:39 +00:00
newContext now requires a StyleConfig, update tests.
This commit is contained in:
@@ -11,7 +11,7 @@ func TestReplayBufferStart(t *testing.T) {
|
||||
defer disconnect()
|
||||
|
||||
var out bytes.Buffer
|
||||
context := newContext(client, &out, "")
|
||||
context := newContext(client, &out, StyleConfig{})
|
||||
|
||||
cmd := &ReplayBufferStartCmd{}
|
||||
err := cmd.Run(context)
|
||||
@@ -28,7 +28,7 @@ func TestReplayBufferStop(t *testing.T) {
|
||||
defer disconnect()
|
||||
|
||||
var out bytes.Buffer
|
||||
context := newContext(client, &out, "")
|
||||
context := newContext(client, &out, StyleConfig{})
|
||||
|
||||
cmd := &ReplayBufferStopCmd{}
|
||||
err := cmd.Run(context)
|
||||
@@ -45,7 +45,7 @@ func TestReplayBufferToggle(t *testing.T) {
|
||||
defer disconnect()
|
||||
|
||||
var out bytes.Buffer
|
||||
context := newContext(client, &out, "")
|
||||
context := newContext(client, &out, StyleConfig{})
|
||||
|
||||
cmdStatus := &ReplayBufferStatusCmd{}
|
||||
err := cmdStatus.Run(context)
|
||||
|
||||
Reference in New Issue
Block a user