Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testStaticHost (0.14 sec)

  1. src/net/hosts_test.go

    	defer func(orig string) { hostsFilePath = orig }(hostsFilePath)
    
    	for _, tt := range lookupStaticHostTests {
    		hostsFilePath = tt.name
    		for _, ent := range tt.ents {
    			testStaticHost(t, tt.name, ent)
    		}
    	}
    }
    
    func testStaticHost(t *testing.T, hostsPath string, ent staticHostEntry) {
    	ins := []string{ent.in, absDomainName(ent.in), strings.ToLower(ent.in), strings.ToUpper(ent.in)}
    	for _, in := range ins {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top