package pkg import ( "fmt" "io/ioutil" ) // readCase : Reads a test case file and returns the contents. Used for very large raw input to parsers func readCase(fn string) (string, error) { f, err := ioutil.ReadFile(fmt.Sprintf("test_cases/%s", fn)) if err != nil { return "", err } return string(f), nil }