Commit 3f743367 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

chore: remove unused test PrettyPrint function

parent 44dfe7d2
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
package test package test
import ( import (
"encoding/json"
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
...@@ -115,12 +114,6 @@ func SetupTestStorage(t *testing.T) string { ...@@ -115,12 +114,6 @@ func SetupTestStorage(t *testing.T) string {
return storage return storage
} }
func PrettyPrint(t *testing.T, ob interface{}) string {
b, err := json.MarshalIndent(ob, "", " ")
require.NoError(t, err)
return string(b)
}
func SetTestStorageDir(dir string) { func SetTestStorageDir(dir string) {
testStorageDir = dir testStorageDir = dir
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment