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:
parent
e9263767c4
commit
0a99c6f7a7
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Reference in a new issue