- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for AFunc (0.03 sec)
-
src/cmd/go/testdata/script/cover_coverpkg_with_init.txt
module M go 1.21 -- a/a.go -- package a import "M/f" func init() { println("package 'a' init: launch the missiles!") } func AFunc() int { return f.Id() } -- a/a_test.go -- package a import "testing" func TestA(t *testing.T) { if AFunc() != 42 { t.Fatalf("bad!") } } -- b/b.go -- package b func init() { println("package 'b' init: release the kraken") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 12:33:44 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt
! exists _cover_.out -- a/a.go -- package a func init() { println("package 'a' init: launch the missiles!") } func AFunc() int { return 42 } -- a/a_test.go -- package a import "testing" func TestA(t *testing.T) { if AFunc() != 42 { t.Fatalf("bad!") } } -- aa/aa.go -- package aa import "M/it" func AA(y int) int { c := it.Conc{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 17:02:36 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/cover/testdata/pkgcfg/a/a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:48:40 UTC 2022 - 330 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverpkg_partial.txt
package a import "M/f" var G int func AFunc() int { G = 1 return f.Id() } -- a/a_test.go -- package a import "testing" func TestA(t *testing.T) { if AFunc() != 42 { t.Fatalf("bad!") } } -- b/b.go -- package b import ( "M/a" "M/d" ) func BFunc() int { return -d.FortyTwo + a.AFunc() } -- b/b_test.go -- package b import "testing"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:12:49 UTC 2024 - 3.3K bytes - Viewed (0)