mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-04-18 07:03:37 +00:00
newContext now requires a StyleConfig, update tests.
This commit is contained in:
@@ -10,7 +10,7 @@ func TestSceneList(t *testing.T) {
|
||||
defer disconnect()
|
||||
|
||||
var out bytes.Buffer
|
||||
context := newContext(client, &out, "")
|
||||
context := newContext(client, &out, StyleConfig{})
|
||||
|
||||
cmd := &SceneListCmd{}
|
||||
err := cmd.Run(context)
|
||||
@@ -27,7 +27,7 @@ func TestSceneCurrent(t *testing.T) {
|
||||
defer disconnect()
|
||||
|
||||
var out bytes.Buffer
|
||||
context := newContext(client, &out, "")
|
||||
context := newContext(client, &out, StyleConfig{})
|
||||
|
||||
// Set the current scene to "gobs-test"
|
||||
cmdSwitch := &SceneSwitchCmd{
|
||||
|
||||
Reference in New Issue
Block a user