blob: e7a202933baf57aa9201166e77430a23401cb43d [file] [log] [blame]
// This file contains google3 specific code to make tests work with blaze.
package hcl
import (
"fmt"
"os"
"path/filepath"
)
func init() {
dir := filepath.Join(os.Getenv("TEST_SRCDIR"), "google3/third_party/golang/hashicorp/hcl")
if err := os.Chdir(dir); err != nil {
panic(fmt.Sprintf("os.Chdir(%q): %v", dir, err))
}
}