Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestFlag (0.24 sec)

  1. src/cmd/go/internal/test/test.go

    flags are also accessible by 'go test'. See 'go help testflag' for details.
    
    For more about build flags, see 'go help build'.
    For more about specifying packages, see 'go help packages'.
    
    See also: go build, go vet.
    `,
    }
    
    var HelpTestflag = &base.Command{
    	UsageLine: "testflag",
    	Short:     "testing flags",
    	Long: `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. src/testing/testing.go

    //	)
    //
    //	func TestAbs(t *testing.T) {
    //	    got := abs.Abs(-1)
    //	    if got != 1 {
    //	        t.Errorf("Abs(-1) = %d; want 1", got)
    //	    }
    //	}
    //
    // For more detail, run "go help test" and "go help testflag".
    //
    // # Benchmarks
    //
    // Functions of the form
    //
    //	func BenchmarkXxx(*testing.B)
    //
    // are considered benchmarks, and are executed by the "go test" command when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top