Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Contact (0.28 sec)

  1. src/cmd/go/internal/generate/generate_test.go

    	if !reflect.DeepEqual(got, expected) {
    		t.Errorf("split(%q): got %q expected %q", inLine, got, expected)
    	}
    
    	// Now change the value of $X and see if the recorded definition is
    	// still intact (vs. having the $_X already substituted out)
    
    	os.Setenv("_X", "Z")
    	inLine = "//go:generate CMD0"
    	expected = []string{"abZcd"}
    	got = g.split(inLine + "\n")
    
    	if !reflect.DeepEqual(got, expected) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
Back to top