13 lines
221 B
Go
13 lines
221 B
Go
|
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)
|
||
|
}
|