Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFixedGOROOT (0.13 sec)

  1. src/runtime/env_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestFixedGOROOT(t *testing.T) {
    	// Restore both the real GOROOT environment variable, and runtime's copies:
    	if orig, ok := syscall.Getenv("GOROOT"); ok {
    		defer syscall.Setenv("GOROOT", orig)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 19 11:28:19 UTC 2020
    - 1.2K bytes
    - Viewed (0)
Back to top