Add missing import in tests

main
Clément FRÉVILLE 2 years ago
parent fe671b8682
commit eaa386df88

@ -84,7 +84,7 @@ pub fn app() -> Html {
in_hand.complete(); in_hand.complete();
game.set(Game { game.set(Game {
board: current_game.board.clone(), board: current_game.board.clone(),
in_hand: in_hand.clone() in_hand: in_hand.clone(),
}); });
current_game.set(Game { current_game.set(Game {
board: current_game.board.clone(), board: current_game.board.clone(),

@ -68,6 +68,7 @@ pub fn lexer(input: &[Tile]) -> Result<Vec<Token>, ()> {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use super::*; use super::*;
use crate::tile::Digit;
#[test] #[test]
fn test_lex() { fn test_lex() {

Loading…
Cancel
Save