- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleGoexit (0.12 sec)
-
src/cmd/go/testdata/script/test_example_goexit.txt
[short] skip ! go test -v examplegoexit stdout '(?s)--- PASS.*--- FAIL.*' stdout 'panic: test executed panic\(nil\) or runtime\.Goexit' -- go.mod -- module examplegoexit go 1.16 -- example_test.go -- package main import ( "fmt" "runtime" ) func ExamplePass() { fmt.Println("pass") // Output: // pass } func ExampleGoexit() { runtime.Goexit() // Output:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 403 bytes - Viewed (0)