From e24488ac6284b92feec664108ac031950dfac017 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 8 May 2021 16:09:22 +0200 Subject: [PATCH] Fix broken test. --- group/group_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/group/group_test.go b/group/group_test.go index e4268e1..1f53d37 100644 --- a/group/group_test.go +++ b/group/group_test.go @@ -41,9 +41,9 @@ func TestGroup(t *testing.T) { if ar := g.AllowRecording(); ar { t.Errorf("Allow Recording: expected false, got %v", ar) } - api := g.API() - if api == nil { - t.Errorf("Couldn't get API") + api, err := g.API() + if err != nil || api == nil { + t.Errorf("Couldn't get API: %v", err) } if names := GetNames(); len(names) != 2 {