From 66a6b293234bcce8f083bb91a1cfce01d2dec9a2 Mon Sep 17 00:00:00 2001 From: Fredric Silberberg Date: Thu, 16 Oct 2014 18:41:32 -0400 Subject: [PATCH] Fixed broken common test --- common_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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