- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testFileServerErrorMessages (0.34 sec)
-
src/net/http/fs_test.go
func (issue12991File) Stat() (fs.FileInfo, error) { return nil, fs.ErrPermission } func (issue12991File) Close() error { return nil } func TestFileServerErrorMessages(t *testing.T) { run(t, testFileServerErrorMessages) } func testFileServerErrorMessages(t *testing.T, mode testMode) { fs := fakeFS{ "/500": &fakeFileInfo{ err: errors.New("random error"), }, "/403": &fakeFileInfo{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0)