(path string)
| 629 | } |
| 630 | |
| 631 | func getFileContents(path string) ([]byte, error) { |
| 632 | path = "." + path |
| 633 | f, err := os.Open(path) |
| 634 | if err != nil { |
| 635 | return nil, err |
| 636 | } |
| 637 | defer f.Close() |
| 638 | return io.ReadAll(f) |
| 639 | } |
| 640 | |
| 641 | func TestParseByteRangeSuccess(t *testing.T) { |
| 642 | t.Parallel() |
no test coverage detected
searching dependent graphs…