commit | 390fb096e741161a53a49a0fc4cee1dab95d09dc | [log] [tgz] |
---|---|---|
author | Onsi Fakhouri <onsijoe@gmail.com> | Mon Mar 02 16:59:54 2015 -0800 |
committer | Onsi Fakhouri <onsijoe@gmail.com> | Mon Mar 02 16:59:54 2015 -0800 |
tree | 2c887dad37d868200acff0b64e9eb185f51c5ce4 | |
parent | 982c859aeeffd81ab8717403fb03c379b6c92b5f [diff] | |
parent | 3833aee2589296905ed7a06e986ded7ed3cb09bb [diff] |
Merge pull request #83 from hobeone/patch-1 Return prettyprinted JSON strings for errors.
diff --git a/matchers/match_json_matcher.go b/matchers/match_json_matcher.go index bedf851..efc5e15 100644 --- a/matchers/match_json_matcher.go +++ b/matchers/match_json_matcher.go
@@ -57,5 +57,5 @@ return "", "", err } - return actualString, expectedString, nil + return abuf.String(), ebuf.String(), nil }