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) {
1717 for a := range []int {allocNone , allocMalloc , allocGSSAPI } {
1818 b , err := l .MakeBuffer (a )
1919 if err != nil {
20- t .Fatalf ("alloc: %v: " , a , err )
20+ t .Fatalf ("alloc: %v: %s " , a , err )
2121 }
2222 defer b .Release ()
2323
@@ -29,7 +29,7 @@ func TestNewBuffer(t *testing.T) {
2929 a , b .Lib , l )
3030 }
3131 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 )
3333 }
3434 if b .String () != "" {
3535 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) {
6161 defer kerbOID .Release ()
6262
6363 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 () )
6565 }
6666
6767 makeNames := func (n string ) (
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ type Context struct {
3030 loadonce sync.Once
3131
3232 // Service credentials loaded from keytab
33- credential * gssapi.CredId `json:"-"`
33+ credential * gssapi.CredId
3434}
3535
3636var c = & Context {}
You can’t perform that action at this time.
0 commit comments