blob: ed86a82605c8602061b1e4c78023e769551bfb20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
package test
import "testing"
func TestTempFile(t *testing.T) {
_, f, e := TempFile(".", "test")
if e != nil {
t.Fatalf("failed to create temp file: %s", e)
}
defer f()
}
|