diff options
Diffstat (limited to 'service/http/uploads_test.go')
-rw-r--r-- | service/http/uploads_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/http/uploads_test.go b/service/http/uploads_test.go index f336951e..08177c72 100644 --- a/service/http/uploads_test.go +++ b/service/http/uploads_test.go @@ -424,7 +424,8 @@ func fileString(f string, errNo int, mime string) string { v.Size = 0 } - r, err := json.Marshal(v) + j := json.ConfigCompatibleWithStandardLibrary + r, err := j.Marshal(v) if err != nil { fmt.Println(fmt.Errorf("error marshalling fInfo, error: %v", err)) } |