tests don't need test_ prefix

This commit is contained in:
2020-07-26 12:37:41 +01:00
parent f2ae43e85f
commit b5050720d8
13 changed files with 37 additions and 37 deletions

View File

@@ -135,7 +135,7 @@ mod test {
use crate::mock;
#[test]
fn test_tile_from_string() {
fn tile_from_string() {
let output = Tile::from(include_str!("test-resources/tile").to_string());
let expected = Tile {
@@ -152,7 +152,7 @@ mod test {
}
#[test]
fn test_tile_to_string() {
fn tile_to_string() {
let output = Tile {
id: "7a".to_string(),
name: Some("chequers".to_string()),
@@ -171,7 +171,7 @@ mod test {
}
#[test]
fn test_partial_eq() {
fn partial_eq() {
let tile_a = crate::mock::tile_default();
let mut tile_b = crate::mock::tile_default();
tile_b.id = "0".to_string();