Skip to content

Commit 2ff9bde

Browse files
sample => simple
1 parent dd3f955 commit 2ff9bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/testing/testing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// package builds but will be included when the ``go test'' command is run.
1818
// For more detail, run ``go help test'' and ``go help testflag''.
1919
//
20-
// A sample test function looks like this:
20+
// A simple test function looks like this:
2121
// func TestHello(t *testing.T) {
2222
// got := fmt.Sprintf("hello %s", "world")
2323
// want := "hello world"
@@ -36,7 +36,7 @@
3636
// For a description of the testing flags, see
3737
// https://golang.org/cmd/go/#hdr-Testing_flags
3838
//
39-
// A sample benchmark function looks like this:
39+
// A simple benchmark function looks like this:
4040
// func BenchmarkHello(b *testing.B) {
4141
// for i := 0; i < b.N; i++ {
4242
// fmt.Sprintf("hello")

0 commit comments

Comments
 (0)