Simplify duplicate command types

This commit is contained in:
Marc Di Luzio 2020-06-06 12:45:45 +01:00
parent 97d3583384
commit e3ce87e964
8 changed files with 28 additions and 56 deletions

View file

@ -96,9 +96,9 @@ func TestHandleCommand(t *testing.T) {
assert.NoError(t, err, "Couldn't get rover position")
data := rove.CommandData{
Commands: []rove.Command{
Commands: []game.Command{
{
Command: rove.CommandMove,
Command: game.CommandMove,
Bearing: "N",
Duration: 1,
},