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