"fix" some compiler warnings
while these are not used currently, i'm not able to rule out the possiblity that i'll want to use them in the near-ish future for future tests.
This commit is contained in:
parent
ef45992130
commit
88bea61bab
|
@ -21,9 +21,12 @@ mod tests {
|
||||||
|
|
||||||
use byteorder::{LittleEndian, ReadBytesExt};
|
use byteorder::{LittleEndian, ReadBytesExt};
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
const ASSETS_PATH: &str = "./assets/";
|
const ASSETS_PATH: &str = "./assets/";
|
||||||
|
|
||||||
const TEST_ASSETS_PATH: &str = "./test-assets/";
|
const TEST_ASSETS_PATH: &str = "./test-assets/";
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn assets_file(file: &Path) -> PathBuf {
|
pub fn assets_file(file: &Path) -> PathBuf {
|
||||||
PathBuf::from(ASSETS_PATH).join(file)
|
PathBuf::from(ASSETS_PATH).join(file)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue