Skip to content

Commit

Permalink
Merge pull request #238 from QuLogic/fix-examples
Browse files Browse the repository at this point in the history
Fix invalid Example naming
  • Loading branch information
wjdp authored Jan 20, 2025
2 parents b61b82d + 0a52221 commit 568fd1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions issues/issue_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestIssueStoreWriteLog(t *testing.T) {

}

func ExampleIssueStoreDumpIssues() {
func ExampleIssueStore_DumpIssues() {
// Passes for dumping all issues, ignoring LogLevel
iS := NewIssueStore(LevelNone, true)
issue1 := Issue{
Expand All @@ -108,7 +108,7 @@ func ExampleIssueStoreDumpIssues() {
// >>>>>>>>>>>>>>>>>>>>>>>>
}

func ExampleIssueStorePrintDocumentIssues() {
func ExampleIssueStore_PrintDocumentIssues() {
iS := NewIssueStore(LevelError, false)
doc := htmldoc.Document{
SitePath: "dir/page.html",
Expand All @@ -126,7 +126,7 @@ func ExampleIssueStorePrintDocumentIssues() {
// test1 --- dir/page.html --> <nil>
}

func ExampleIssueStorePrintDocumentIssuesEmpty() {
func ExampleIssueStore_PrintDocumentIssues_empty() {
iS := NewIssueStore(LevelError, false)
doc := htmldoc.Document{
SitePath: "dir/page.html",
Expand Down
4 changes: 2 additions & 2 deletions issues/issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func TestIssueSecondary(t *testing.T) {
assert.Equals(t, "issue1 secondary", issue1.secondary(), "http://example.com")
}

func ExampleIssuePrintLogLevel() {
func ExampleIssue_print_logLevel() {
doc := htmldoc.Document{
SitePath: "dir/doc.html",
}
Expand Down Expand Up @@ -84,7 +84,7 @@ func ExampleIssuePrintLogLevel() {

}

func ExampleIssuePrintLogAll() {
func ExampleIssue_print_logAll() {
doc := htmldoc.Document{
SitePath: "dir/doc.html",
}
Expand Down

0 comments on commit 568fd1c

Please sign in to comment.