- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestExtensionsByType (0.15 sec)
-
src/mime/type_test.go
t.Fatalf("for .TEST, got %q; want %s", got, caps) } // case-insensitive if got := TypeByExtension(".TesT"); got != custom { t.Fatalf("for .TesT, got %q; want %q", got, custom) } } func TestExtensionsByType(t *testing.T) { cleanup := setMimeInit(func() { clearMimeTypes() setType(".gif", "image/gif") setType(".a", "foo/letter") setType(".b", "foo/letter") setType(".B", "foo/letter")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 08 21:09:03 UTC 2022 - 4.9K bytes - Viewed (0)