...

Source file src/cmd/cover/testdata/pkgcfg/a/a_test.go

Documentation: cmd/cover/testdata/pkgcfg/a

     1  package a_test
     2  
     3  import (
     4  	"cfg/a"
     5  	"testing"
     6  )
     7  
     8  func TestA(t *testing.T) {
     9  	a.A(0)
    10  	var aat a.Atyp
    11  	at := &aat
    12  	at.Set(42)
    13  	println(at.Get())
    14  }
    15  

View as plain text