mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
bytes, strings: improve Title test coverage by adding cases with underscore and unicode line separator
R=golang-codereviews, gobot, r CC=golang-codereviews https://golang.org/cl/42310045
This commit is contained in:
parent
e8b7def7f4
commit
7054890715
2 changed files with 4 additions and 0 deletions
|
|
@ -1073,6 +1073,8 @@ var TitleTests = []TitleTest{
|
|||
{"123a456", "123a456"},
|
||||
{"double-blind", "Double-Blind"},
|
||||
{"ÿøû", "Ÿøû"},
|
||||
{"with_underscore", "With_underscore"},
|
||||
{"unicode \xe2\x80\xa8 line separator", "Unicode \xe2\x80\xa8 Line Separator"},
|
||||
}
|
||||
|
||||
func TestTitle(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue