1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-12 19:55:59 +01:00

Fix broken test.

This commit is contained in:
Juliusz Chroboczek 2021-05-08 16:09:22 +02:00
parent 65972fabe8
commit e24488ac62

View file

@ -41,9 +41,9 @@ func TestGroup(t *testing.T) {
if ar := g.AllowRecording(); ar { if ar := g.AllowRecording(); ar {
t.Errorf("Allow Recording: expected false, got %v", ar) t.Errorf("Allow Recording: expected false, got %v", ar)
} }
api := g.API() api, err := g.API()
if api == nil { if err != nil || api == nil {
t.Errorf("Couldn't get API") t.Errorf("Couldn't get API: %v", err)
} }
if names := GetNames(); len(names) != 2 { if names := GetNames(); len(names) != 2 {