refactor: group launched/in_space state
This commit is contained in:
@@ -48,7 +48,7 @@ func TestSendFleet(t *testing.T) {
|
||||
assert.Len(t, slices.Collect(c.ListFleets(Race_0_idx)), 3)
|
||||
|
||||
// group #2 - in_space
|
||||
c.ShipGroup(1).StateInSpace = &game.InSpace{Origin: 2, Range: 1.23}
|
||||
c.ShipGroup(1).StateInSpace = &InSpace
|
||||
|
||||
assert.ErrorContains(t,
|
||||
g.SendFleet(UnknownRace, fleetSending, 2),
|
||||
|
||||
Reference in New Issue
Block a user