Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestImportDirNotExist (0.33 sec)

  1. src/go/build/build_test.go

    		}
    	}
    }
    
    // Want to get a "cannot find package" error when directory for package does not exist.
    // There should be valid partial information in the returned non-nil *Package.
    func TestImportDirNotExist(t *testing.T) {
    	testenv.MustHaveGoBuild(t) // really must just have source
    	ctxt := Default
    
    	emptyDir := t.TempDir()
    
    	ctxt.GOPATH = emptyDir
    	ctxt.Dir = emptyDir
    
    	tests := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top