- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleNoOutput (0.17 sec)
-
src/cmd/go/testdata/script/list_test_simple.txt
import ( "fmt" ) func ExampleSimple() { fmt.Println("Test with Output.") // Output: Test with Output. } func ExampleWithEmptyOutput() { fmt.Println("") // Output: } func ExampleNoOutput() { _ = fmt.Sprint("Test with no output") } -- test_test.go -- package testlist import ( "fmt" "testing" ) func TestSimple(t *testing.T) { _ = fmt.Sprint("Test simple")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 856 bytes - Viewed (0)