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:
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 {
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue