summaryrefslogtreecommitdiff
path: root/deno_dir_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'deno_dir_test.go')
-rw-r--r--deno_dir_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/deno_dir_test.go b/deno_dir_test.go
index 51a6fb016..2c1bfb1e2 100644
--- a/deno_dir_test.go
+++ b/deno_dir_test.go
@@ -9,9 +9,7 @@ import (
func SetCacheDirForTest(prefix string) {
dir, err := ioutil.TempDir("", prefix)
- if err != nil {
- panic(err)
- }
+ check(err)
CacheDir = dir
}