tests don't need test_ prefix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user