Skip to content

Commit ac46a95

Browse files
committed
Minor.
1 parent 07f0bb1 commit ac46a95

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

keystore/admin_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ func TestKeystore_ExportImport(t *testing.T) {
258258
key1ks1, err := ks1.GetKeys(t.Context(), keystore.GetKeysRequest{KeyNames: []string{"key1"}})
259259
require.NoError(t, err)
260260
key1ks2, err := ks2.GetKeys(t.Context(), keystore.GetKeysRequest{KeyNames: []string{"key1"}})
261+
require.NoError(t, err)
261262
require.Equal(t, key1ks1, key1ks2)
262263

263264
testData := []byte("hello world")

keystore/internal/raw.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (raw Raw) GoString() string {
2525
}
2626

2727
func (raw Raw) Format(state fmt.State, _ rune) {
28-
_, _ = fmt.Fprintf(state, raw.String())
28+
_, _ = fmt.Fprint(state, raw.String())
2929
}
3030

3131
// Bytes is a func for accessing the internal bytes field of Raw.

0 commit comments

Comments
 (0)