Skip to content

Commit

Permalink
Change test func name for example
Browse files Browse the repository at this point in the history
  • Loading branch information
genkiroid committed Apr 10, 2018
1 parent edc98bb commit 4eaeb49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cert_example_test.go
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
)

func ExampleDefaultFormat() {
func ExampleCerts_String() {
UTC = true
stubCert()
certs, _ := NewCerts([]string{"example.com"})
Expand All @@ -21,7 +21,7 @@ func ExampleDefaultFormat() {
// Error:
}

func ExampleMarkDownFormat() {
func ExampleCerts_Markdown() {
UTC = true
stubCert()
certs, _ := NewCerts([]string{"example.com"})
Expand All @@ -33,7 +33,7 @@ func ExampleMarkDownFormat() {
// example.com | 127.0.0.1 | CA for test | 2016-12-31 15:00:00 +0000 UTC | 2017-12-31 15:00:00 +0000 UTC | example.com | example.com<br/>www.example.com<br/> |
}

func ExampleJSONFormat() {
func ExampleCerts_JSON() {
UTC = true
stubCert()
certs, _ := NewCerts([]string{"example.com"})
Expand Down

0 comments on commit 4eaeb49

Please sign in to comment.