Skip to content

Commit

Permalink
fix production test
Browse files Browse the repository at this point in the history
  • Loading branch information
sirgwain committed Oct 7, 2024
1 parent 8c41cb1 commit b5ea312
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cs/production_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,7 @@ func Test_production_produceMineralPackets(t *testing.T) {
producer := newProducer(testLogger, &rules, planet, player)
result, err := producer.produce()
assert.Nil(t, err)
assert.Equal(t, 1, len(result.packets))
assert.Equal(t, Cargo{40, 40, 40, 0}, result.packets[0])
assert.Equal(t, Cargo{40, 40, 40, 0}, result.packets)
assert.Equal(t, 0, len(planet.ProductionQueue))
}

Expand Down

0 comments on commit b5ea312

Please sign in to comment.