1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Better language

This commit is contained in:
Daniel Barber 2018-03-14 20:35:28 -04:00
parent 415ad8e8ee
commit 5745b916c4
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -25,7 +25,7 @@ defmodule Chess.Moves.RookTest do
assert Enum.sort(moves) == expected_moves assert Enum.sort(moves) == expected_moves
end end
test "rooks are blocked by another piece of the same colour" do test "rooks are blocked by other pieces of the same colour" do
board = %{ board = %{
"0,0" => %{"type" => "rook", "colour" => "white"}, "0,0" => %{"type" => "rook", "colour" => "white"},
"0,5" => %{"type" => "king", "colour" => "white"}, "0,5" => %{"type" => "king", "colour" => "white"},