Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for verifyPrint (0.12 sec)

  1. src/cmd/compile/internal/syntax/parser_test.go

    }
    
    func TestVerify(t *testing.T) {
    	ast, err := ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0)
    	if err != nil {
    		return // error already reported
    	}
    	verifyPrint(t, *src_, ast)
    }
    
    func TestStdLib(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode")
    	}
    
    	var skipRx *regexp.Regexp
    	if *skip != "" {
    		var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

            given:
            buildFile << '''
                verifyInt {
                    prop.empty()
                    prop[1] = 111
                    prop[2] = project.provider { 222 }
                    expected = [1: 111, 2: 222]
                }
                '''.stripIndent()
    
            expect:
            succeeds('verifyInt')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. src/encoding/gob/codec_test.go

    func TestIntCodec(t *testing.T) {
    	for u := uint64(0); ; u = (u + 1) * 7 {
    		// Do positive and negative values
    		i := int64(u)
    		verifyInt(i, t)
    		verifyInt(-i, t)
    		verifyInt(^i, t)
    		if u&(1<<63) != 0 {
    			break
    		}
    	}
    	verifyInt(-1<<63, t) // a tricky case
    }
    
    // The result of encoding a true boolean with field number 7
    var boolResult = []byte{0x07, 0x01}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
Back to top