diff --git a/robot_test.go b/robot_test.go index 4117edd..d3dceb1 100644 --- a/robot_test.go +++ b/robot_test.go @@ -123,7 +123,9 @@ func TestProbeResultType(t *testing.T) { } p1 := player{ Robots: []*Robot{&r1}, - Id: "bilbo", + protoTalker: protoTalker{ + Id: "bilbo", + }, } r2 := Robot{ @@ -133,7 +135,9 @@ func TestProbeResultType(t *testing.T) { } p2 := player{ Robots: []*Robot{&r2}, - Id: "Frodo", + protoTalker: protoTalker{ + Id: "Frodo", + }, } g.players[&p1] = true