Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBlah (0.07 sec)

  1. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    -- d/d.go --
    package d
    
    const FortyTwo = 42
    
    func DFunc() int {
      return FortyTwo
    }
    
    -- e/e_test.go --
    package e
    
    import (
    	"M/a"
    	"M/b"
    	"testing"
    )
    
    func TestBlah(t *testing.T) {
    	if b.BFunc() == 1010101 {
    		t.Fatalf("bad")
    	}
    	a.AFunc()
    }
    -- f/f.go --
    package f
    
    var F int
    
    func Id() int {
    	F += 9
    	F *= 2
    	return 42
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top