(t *testing.T)
| 802 | } |
| 803 | |
| 804 | func TestDirFSFSByteRangeSingleThread(t *testing.T) { |
| 805 | t.Parallel() |
| 806 | |
| 807 | stop := make(chan struct{}) |
| 808 | defer close(stop) |
| 809 | |
| 810 | fs := &FS{ |
| 811 | FS: dirTestFilesystem, |
| 812 | Root: ".", |
| 813 | AcceptByteRange: true, |
| 814 | CleanStop: stop, |
| 815 | } |
| 816 | h := fs.NewRequestHandler() |
| 817 | |
| 818 | testFSByteRange(t, h, "/fs.go") |
| 819 | testFSByteRange(t, h, "/README.md") |
| 820 | } |
| 821 | |
| 822 | func TestDirFSFSCompressConcurrent(t *testing.T) { |
| 823 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…