mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-31 23:32:04 +00:00
Added tests
This commit is contained in:
@@ -812,3 +812,14 @@ fn main() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn filesystem_cache_should_work() -> Result<(), String> {
|
||||
let wasmer_cache_dir = get_cache_dir();
|
||||
|
||||
unsafe {
|
||||
FileSystemCache::new(wasmer_cache_dir).map_err(|e| format!("Cache error: {:?}", e))?
|
||||
};
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user