Added comment for why image::from_path isnt tested
This commit is contained in:
parent
46b313b585
commit
78be15b50b
|
@ -291,6 +291,7 @@ fn test_image_from_bytes() {
|
||||||
let image_bytes = include_bytes!("../../test-data/favicon.ico");
|
let image_bytes = include_bytes!("../../test-data/favicon.ico");
|
||||||
let image = Image::with_data(image_bytes);
|
let image = Image::with_data(image_bytes);
|
||||||
}
|
}
|
||||||
|
// It's unclear where the file is on the ios simulator.
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
fn test_image_from_file() {
|
fn test_image_from_file() {
|
||||||
|
|
Loading…
Reference in a new issue