Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
3f743367
Commit
3f743367
authored
Jun 18, 2021
by
Sietse Ringers
Browse files
chore: remove unused test PrettyPrint function
parent
44dfe7d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
internal/test/testdata.go
View file @
3f743367
...
...
@@ -3,7 +3,6 @@
package
test
import
(
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
...
...
@@ -115,12 +114,6 @@ func SetupTestStorage(t *testing.T) string {
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
)
{
testStorageDir
=
dir
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment