diff --git a/common_test.go b/common_test.go index 5f13bb3..dc65f76 100644 --- a/common_test.go +++ b/common_test.go @@ -3,7 +3,7 @@ package jsh import "testing" func TestToJson(t *testing.T) { - fixture := JshOutput{[]string{}, []string{}} + fixture := JshFrame{[]string{}, []string{}} json := fixture.ToJson() expected := `{"StdOut":[],"StdErr":[]}` actual := *json @@ -11,7 +11,7 @@ func TestToJson(t *testing.T) { t.Errorf("Empty fixture did not match:\n%s != %s", expected, actual) } - fixture = JshOutput{[]string{"potato!"}, []string{}} + fixture = JshFrame{[]string{"potato!"}, []string{}} json = fixture.ToJson() expected = `{"StdOut":["potato!"],"StdErr":[]}` actual = *json