File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ func TestNewBuffer(t *testing.T) {
17
17
for a := range []int {allocNone , allocMalloc , allocGSSAPI } {
18
18
b , err := l .MakeBuffer (a )
19
19
if err != nil {
20
- t .Fatalf ("alloc: %v: " , a , err )
20
+ t .Fatalf ("alloc: %v: %s " , a , err )
21
21
}
22
22
defer b .Release ()
23
23
@@ -29,7 +29,7 @@ func TestNewBuffer(t *testing.T) {
29
29
a , b .Lib , l )
30
30
}
31
31
if b .C_gss_buffer_t == nil {
32
- t .Fatal ("alloc: %v: Got nil buffer, expected non-nil" , a )
32
+ t .Fatalf ("alloc: %v: Got nil buffer, expected non-nil" , a )
33
33
}
34
34
if b .String () != "" {
35
35
t .Fatalf (`alloc: %v: String(): got %q, expected ""` ,
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ func TestNameImportExport(t *testing.T) {
61
61
defer kerbOID .Release ()
62
62
63
63
if ! mechs .Contains (kerbOID ) {
64
- t .Fatalf ("Expected %s to be in %s " , kerbOID .DebugString , mechs .DebugString )
64
+ t .Fatalf ("Expected %q to be in %q " , kerbOID .DebugString () , mechs .DebugString () )
65
65
}
66
66
67
67
makeNames := func (n string ) (
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ type Context struct {
30
30
loadonce sync.Once
31
31
32
32
// Service credentials loaded from keytab
33
- credential * gssapi.CredId `json:"-"`
33
+ credential * gssapi.CredId
34
34
}
35
35
36
36
var c = & Context {}
You can’t perform that action at this time.
0 commit comments