mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 18:18:30 +00:00
Do not use go 1.15 methods.
This commit is contained in:
@@ -33,7 +33,7 @@ func TestRegister(t *testing.T) {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
Register(tt.args.t, tt.args.fn)
|
||||
fmt.Println(registry)
|
||||
fn, ok := registry.LoadAndDelete(tt.args.t.String())
|
||||
fn, ok := registry.Load(tt.args.t.String())
|
||||
if !ok {
|
||||
t.Errorf("Register() failed")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user