Tests for cache system

This commit is contained in:
Artur Jamro
2019-07-29 16:43:48 -07:00
committed by Dan Gohman
parent 697fa59b55
commit c3215f4f1b
7 changed files with 355 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
use wasmtime_environ::cache_conf;
#[test]
#[should_panic]
fn test_fail_usage_without_init() {
let _ = cache_conf::cache_directory();
}