[board] Fix two build errors
This commit is contained in:
parent
284b3b68a0
commit
e56d256812
2 changed files with 1 additions and 5 deletions
|
@ -34,7 +34,7 @@ impl Default for Flags {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::Color;
|
use crate::piece::Color;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn castle_flags() {
|
fn castle_flags() {
|
||||||
|
|
|
@ -271,8 +271,4 @@ mod tests {
|
||||||
.place_piece(piece, square)
|
.place_piece(piece, square)
|
||||||
.expect_err("Placed white queen on e4 a second time?!");
|
.expect_err("Placed white queen on e4 a second time?!");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue