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:
parent
65972fabe8
commit
e24488ac62
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue