test name

This commit is contained in:
Max Bradbury 2021-05-18 22:26:39 +01:00
parent d6ae708a5c
commit 3f76ee4f03
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ mod test {
use crate::tile::Tile;
#[test]
fn tile_from_file() {
fn from_file() {
let path = PathBuf::from("src/test-resources/basic/tiles/avatar.toml");
let output = Tile::from_file(path);
let expected = Tile { name: "avatar".into(), images: vec!["avatar".to_string()] };