packer-cn/template/template_test.go

13 lines
221 B
Go
Raw Normal View History

2015-05-19 17:25:56 -04:00
package template
import (
"path/filepath"
)
const FixturesDir = "./test-fixtures"
// fixtureDir returns the path to a test fixtures directory
func fixtureDir(n string) string {
return filepath.Join(FixturesDir, n)
}