Fix several bugs in minecraft input (#2970)
This commit is contained in:
committed by
Daniel Nelson
parent
f2bb4acd4a
commit
cc3d420551
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user