github.com/leowmjw/otto@v0.2.1-0.20160126165905-6400716cf085/otto/otto_test.go (about)

     1  package otto
     2  
     3  import (
     4  	"path/filepath"
     5  )
     6  
     7  func testPath(path ...string) string {
     8  	args := make([]string, 1, len(path)+1)
     9  	args[0] = "./test-fixtures"
    10  	args = append(args, path...)
    11  
    12  	return filepath.Join(args...)
    13  }