Fix several bugs in minecraft input (#2970)

This commit is contained in:
Adam Perlin
2017-06-27 13:14:07 -07:00
committed by Daniel Nelson
parent f2bb4acd4a
commit cc3d420551
6 changed files with 100 additions and 14 deletions

View File

@@ -40,7 +40,8 @@ func TestRCONGather(t *testing.T) {
client: mock,
}
got, err := client.Gather()
d := defaultClientProducer{}
got, err := client.Gather(d)
if err != nil {
t.Fatalf("Gather returned an error. Error %s\n", err)
}
@@ -57,7 +58,7 @@ func TestRCONGather(t *testing.T) {
Err: nil,
}
got, err = client.Gather()
got, err = client.Gather(defaultClientProducer{})
if err != nil {
t.Fatalf("Gather returned an error. Error %s\n", err)
}