- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PrintFileForTest (0.12 sec)
-
src/cmd/go/testdata/script/test_trimpath.txt
} -- pkg_test.go -- package pkg import "runtime" func PrintFileForTest() { _, file, _, _ := runtime.Caller(0) println(file) } -- pkg_x_test.go -- package pkg_test import ( "runtime" "testing" "example.com/pkg" ) func TestMain(m *testing.M) { pkg.PrintFile() pkg.PrintFileForTest() PrintFileInXTest() } func PrintFileInXTest() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 12 15:17:33 UTC 2021 - 657 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_trimpath_main.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 12 15:17:33 UTC 2021 - 477 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_trimpath_test_suffix.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 12 15:17:33 UTC 2021 - 539 bytes - Viewed (0)