This commit is contained in:
Deluan
2016-03-03 00:46:23 -05:00
parent ffd6304a23
commit 012958cd08
14 changed files with 63 additions and 63 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
package tests
import (
. "github.com/smartystreets/goconvey/convey"
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"github.com/deluan/gosonic/api/responses"
"bytes"
. "github.com/smartystreets/goconvey/convey"
)
func ShouldMatchXML(actual interface{}, expected ...interface{}) string {
@@ -48,4 +48,4 @@ func UnindentJSON(j []byte) string {
json.Unmarshal(j, &m)
s, _ := json.Marshal(m)
return string(s)
}
}