Fix unit tests for TestPrettyPrintBare

This commit is contained in:
Sean Chittenden
2016-05-11 15:20:57 -07:00
parent 81f9d42c15
commit 1e8d6eb283

View File

@@ -173,7 +173,7 @@ func testPrettyPrint(pretty string, prettyFmt bool, t *testing.T) {
expected, _ := json.MarshalIndent(r, "", " ")
if prettyFmt {
expected += "\n"
expected = append(expected, "\n"...)
}
actual, err := ioutil.ReadAll(resp.Body)
if err != nil {