We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd3f955 commit 2ff9bdeCopy full SHA for 2ff9bde
src/testing/testing.go
@@ -17,7 +17,7 @@
17
// package builds but will be included when the ``go test'' command is run.
18
// For more detail, run ``go help test'' and ``go help testflag''.
19
//
20
-// A sample test function looks like this:
+// A simple test function looks like this:
21
// func TestHello(t *testing.T) {
22
// got := fmt.Sprintf("hello %s", "world")
23
// want := "hello world"
@@ -36,7 +36,7 @@
36
// For a description of the testing flags, see
37
// https://golang.org/cmd/go/#hdr-Testing_flags
38
39
-// A sample benchmark function looks like this:
+// A simple benchmark function looks like this:
40
// func BenchmarkHello(b *testing.B) {
41
// for i := 0; i < b.N; i++ {
42
// fmt.Sprintf("hello")
0 commit comments