1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 15:25:48 +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 {
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 {