test(editor): satisfy strict thumbnail cache lint
Some checks failed
CI / Format, lint, test, build (push) Has been cancelled
Some checks failed
CI / Format, lint, test, build (push) Has been cancelled
This commit is contained in:
parent
cadb37341d
commit
634ec16c5e
@ -633,8 +633,10 @@ mod tests {
|
||||
fs::create_dir_all(texture_path.parent().unwrap()).unwrap();
|
||||
fs::write(&material_path, b"material").unwrap();
|
||||
fs::write(&texture_path, b"first pixels").unwrap();
|
||||
let mut material = shared::MaterialDesc::default();
|
||||
material.base_color_texture = Some("assets/textures/albedo.png".into());
|
||||
let material = shared::MaterialDesc {
|
||||
base_color_texture: Some("assets/textures/albedo.png".into()),
|
||||
..Default::default()
|
||||
};
|
||||
let source = ThumbnailJobSource::MaterialAsset {
|
||||
source_path: "assets/materials/test.material.ron".into(),
|
||||
label: "Test".into(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user