We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a91e752 commit 497e899Copy full SHA for 497e899
1 file changed
internal/rockpaperscissors/rockpaperscissors_test.go
@@ -277,19 +277,19 @@ func TestGame_getGameOverMessage(t *testing.T) {
277
name: "Player wins",
278
playerScore: 2,
279
computerScore: 1,
280
- wantMsgContains: "You win the match",
+ wantMsgContains: "GAME OVER: Player WINS",
281
},
282
{
283
name: "Computer wins",
284
playerScore: 1,
285
computerScore: 2,
286
- wantMsgContains: "Computer wins the match",
+ wantMsgContains: "GAME OVER: Player LOSES",
287
288
289
name: "Draw",
290
291
292
- wantMsgContains: "The match is a draw",
+ wantMsgContains: "GAME OVER: DRAW",
293
294
}
295
for _, tt := range tests {
0 commit comments