Remove Item type in favor of just byte
This commit is contained in:
parent
d08a15e201
commit
e1bff92a56
4 changed files with 4 additions and 10 deletions
|
@ -167,6 +167,6 @@ func TestWorld_RoverStash(t *testing.T) {
|
|||
|
||||
inv, err := world.RoverInventory(a)
|
||||
assert.NoError(t, err, "Failed to get inventory")
|
||||
assert.Equal(t, Item{Type: objects.SmallRock}, inv[0])
|
||||
assert.Equal(t, objects.SmallRock, inv[0])
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue