- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AsStringArrayOrFail (0.21 sec)
-
pkg/test/util/file/file.go
for _, f := range files { b, err := AsBytes(f) if err != nil { return nil, err } out = append(out, string(b)) } return out, nil } // AsStringArrayOrFail calls AsStringOrFail and then converts to string. func AsStringArrayOrFail(t test.Failer, files ...string) []string { t.Helper() out, err := AsStringArray(files...) if err != nil { t.Fatal(err) } return out }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 17 02:22:22 UTC 2023 - 4.6K bytes - Viewed (0)