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