Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetenv (0.29 sec)

  1. src/os/env_test.go

    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	. "os"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    // testGetenv gives us a controlled set of variables for testing Expand.
    func testGetenv(s string) string {
    	switch s {
    	case "*":
    		return "all the args"
    	case "#":
    		return "NARGS"
    	case "$":
    		return "PID"
    	case "1":
    		return "ARGUMENT1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/cgo_test.go

    func TestReturnAfterGrow(t *testing.T)       { testReturnAfterGrow(t) }
    func TestReturnAfterGrowFromGo(t *testing.T) { testReturnAfterGrowFromGo(t) }
    func TestSetEnv(t *testing.T)                { testSetEnv(t) }
    func TestThreadLock(t *testing.T)            { testThreadLockFunc(t) }
    func TestUnsignedInt(t *testing.T)           { testUnsignedInt(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top