Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestModuleVersion (0.58 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    `
    	_, err = typecheck(src2, &conf, nil)
    	if err == nil || !strings.Contains(err.Error(), " [go.dev/e/WrongArgCount]\n") {
    		t.Errorf("src1: unexpected error: got %v", err)
    	}
    }
    
    func TestModuleVersion(t *testing.T) {
    	// version go1.dd must be able to typecheck go1.dd.0, go1.dd.1, etc.
    	goversion := fmt.Sprintf("go1.%d", goversion.Version)
    	for _, v := range []string{
    		goversion,
    		goversion + ".0",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    `
    	_, err = typecheck(src2, &conf, nil)
    	if err == nil || !strings.Contains(err.Error(), " [go.dev/e/WrongArgCount]\n") {
    		t.Errorf("src1: unexpected error: got %v", err)
    	}
    }
    
    func TestModuleVersion(t *testing.T) {
    	// version go1.dd must be able to typecheck go1.dd.0, go1.dd.1, etc.
    	goversion := fmt.Sprintf("go1.%d", goversion.Version)
    	for _, v := range []string{
    		goversion,
    		goversion + ".0",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top