Skip to content

Commit

Permalink
Update title normalizer test and example. (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinar authored Jun 18, 2023
1 parent 3d03341 commit c894900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/normalizers/title.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Book struct {
}

book := &Book{
Chapter: "THE Checker",
Chapter: "THE checker",
}

Check(book)
Expand Down
4 changes: 2 additions & 2 deletions title_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestNormalizeTitleResultValid(t *testing.T) {
}

book := &Book{
Chapter: "THE Checker",
Chapter: "THE checker",
}

_, valid := Check(book)
Expand All @@ -35,7 +35,7 @@ func TestNormalizeTitle(t *testing.T) {
}

book := &Book{
Chapter: "THE Checker",
Chapter: "THE checker",
}

Check(book)
Expand Down

0 comments on commit c894900

Please sign in to comment.