Fix path for asset storage (#144)

Define locations for keys and secondary zones, 'n stuff.

Add a bunch of tests as well.
This commit is contained in:
Miek Gieben 2016-04-30 21:56:43 +01:00
parent e635b4e773
commit e34e414e7f
6 changed files with 277 additions and 0 deletions

View file

@ -0,0 +1,11 @@
package test
import "testing"
func TestTempFile(t *testing.T) {
_, f, e := TempFile(t, ".", "test")
if e != nil {
t.Fatalf("failed to create temp file: %s", e)
}
defer f()
}