Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFileServerNotDirError (0.18 sec)

  1. src/net/http/fs_test.go

    func TestFileServerNotDirError(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		t.Run("Dir", func(t *testing.T) {
    			testFileServerNotDirError(t, mode, func(path string) FileSystem { return Dir(path) })
    		})
    		t.Run("FS", func(t *testing.T) {
    			testFileServerNotDirError(t, mode, func(path string) FileSystem { return FS(os.DirFS(path)) })
    		})
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top