1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-21 20:27:46 +00:00

Fix EXL unit test due to API change

This commit is contained in:
Joshua Goins 2022-07-27 20:58:51 -04:00
parent e9263767c4
commit 0a99c6f7a7

View file

@ -56,6 +56,7 @@ impl EXL {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use std::fs::read;
use std::path::PathBuf; use std::path::PathBuf;
use super::*; use super::*;
@ -64,7 +65,7 @@ mod tests {
d.push("resources/tests"); d.push("resources/tests");
d.push("test.exl"); d.push("test.exl");
EXL::from_existing(d.to_str().unwrap()).unwrap() EXL::from_existing(&read(d).unwrap()).unwrap()
} }
#[test] #[test]