Skip to content

Commit

Permalink
Remove unnecessary implementation for CoolText unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Selene-Amanita committed Nov 9, 2023
1 parent 1a4026c commit f7d0999
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions crates/bevy_asset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ mod tests {
use bevy_utils::BoxedFuture;
use futures_lite::AsyncReadExt;
use serde::{Deserialize, Serialize};
use std::{any::TypeId, path::Path};
use std::path::Path;
use thiserror::Error;

#[derive(Asset, TypePath, Debug)]
Expand Down Expand Up @@ -501,14 +501,6 @@ mod tests {
fn extensions(&self) -> &[&str] {
&["cool.ron"]
}

fn label_type_name(&self, _label_type: &str) -> Option<&'static str> {
Some(std::any::type_name::<SubText>())
}

fn label_type_id(&self, _label_type: &str) -> Option<TypeId> {
Some(TypeId::of::<SubText>())
}
}

fn test_app(dir: Dir) -> (App, GateOpener) {
Expand Down

0 comments on commit f7d0999

Please sign in to comment.