correct error message
This commit is contained in:
parent
9c13dea6c0
commit
b69d768b13
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ func TestMoveSnakesWrongID(t *testing.T) {
|
||||||
|
|
||||||
r := StandardRuleset{}
|
r := StandardRuleset{}
|
||||||
err := r.moveSnakes(b, moves)
|
err := r.moveSnakes(b, moves)
|
||||||
require.Equal(t, err, errors.New("snake not found"))
|
require.Equal(t, err, errors.New("snake not found for move"))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestMoveSnakesNotEnoughMoves(t *testing.T) {
|
func TestMoveSnakesNotEnoughMoves(t *testing.T) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue