diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-24 10:25:38 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-24 10:25:38 -0400 |
commit | 19ba0321b0bdd1b284015226474a6d54fe76e911 (patch) | |
tree | 0ff404a8326598b4e773dc0ab0c55a98ed8e7948 /deno_dir_test.go | |
parent | b98f9f1efe6521645615146555004915ef6ecc8e (diff) |
Rename CompileDir to CacheDir
Diffstat (limited to 'deno_dir_test.go')
-rw-r--r-- | deno_dir_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
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") |