diff --git a/src/pkg/strings/example_test.go b/src/pkg/strings/example_test.go index 0b583411331..daeb85ef6bb 100644 --- a/src/pkg/strings/example_test.go +++ b/src/pkg/strings/example_test.go @@ -41,6 +41,7 @@ func ExampleContainsAny() { func ExampleCount() { fmt.Println(strings.Count("cheese", "e")) fmt.Println(strings.Count("five", "")) // before & after each rune + // Output: // 3 // 5