blob: b225ace78583cb5ac9b9506f187d3fbbb5d4b57d (
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()
}
|