Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initMimeUnixTest (0.27 sec)

  1. src/mime/type_unix_test.go

    //go:build unix || (js && wasm)
    
    package mime
    
    import (
    	"testing"
    )
    
    func initMimeUnixTest(t *testing.T) {
    	once.Do(initMime)
    	err := loadMimeGlobsFile("testdata/test.types.globs2")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	loadMimeFile("testdata/test.types")
    }
    
    func TestTypeByExtensionUNIX(t *testing.T) {
    	initMimeUnixTest(t)
    	typeTests := map[string]string{
    		".T1":       "application/test",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 21:09:03 UTC 2022
    - 945 bytes
    - Viewed (0)
Back to top