Add missing import in tests
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user