From 19ba0321b0bdd1b284015226474a6d54fe76e911 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 24 May 2018 10:25:38 -0400 Subject: Rename CompileDir to CacheDir --- deno_dir_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deno_dir_test.go') diff --git a/deno_dir_test.go b/deno_dir_test.go index fa3d68aed..2e98461eb 100644 --- a/deno_dir_test.go +++ b/deno_dir_test.go @@ -5,16 +5,16 @@ import ( "testing" ) -func SetCompileDirForTest(prefix string) { +func SetCacheDirForTest(prefix string) { dir, err := ioutil.TempDir("", prefix) if err != nil { panic(err) } - CompileDir = dir + CacheDir = dir } func TestLoadOutputCodeCache(t *testing.T) { - SetCompileDirForTest("TestLoadOutputCodeCache") + SetCacheDirForTest("TestLoadOutputCodeCache") filename := "Hello.ts" sourceCodeBuf := []byte("1+2") -- cgit v1.2.3