Skip to content

Commit 7c4ead8

Browse files
committed
[bugfix] Apply protobuf changes to test code as well
1 parent dab149f commit 7c4ead8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/app/controller/placementPos_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func setBallLeftFieldTouchLine(engine *Engine, eventLocation *refproto.Location)
108108
engine.State.GameEvents = []*GameEvent{{
109109
Type: GameEventBallLeftFieldTouchLine,
110110
Details: GameEventDetails{
111-
BallLeftFieldTouchLine: &refproto.GameEvent_BallLeftFieldEvent{
111+
BallLeftFieldTouchLine: &refproto.GameEvent_BallLeftField{
112112
ByTeam: &byTeam,
113113
Location: eventLocation}}}}
114114
}
@@ -118,7 +118,7 @@ func setBallLeftFieldGoalLine(engine *Engine, eventLocation *refproto.Location,
118118
engine.State.GameEvents = []*GameEvent{{
119119
Type: GameEventBallLeftFieldGoalLine,
120120
Details: GameEventDetails{
121-
BallLeftFieldGoalLine: &refproto.GameEvent_BallLeftFieldEvent{
121+
BallLeftFieldGoalLine: &refproto.GameEvent_BallLeftField{
122122
ByTeam: &byTeam,
123123
Location: eventLocation}}}}
124124
}

0 commit comments

Comments
 (0)