(t *testing.T)
| 77 | } |
| 78 | |
| 79 | func TestUrlTitle(t *testing.T) { |
| 80 | list := []string{ |
| 81 | "hello你好😂...", |
| 82 | "这是一个,标题,title", |
| 83 | } |
| 84 | for _, title := range list { |
| 85 | formatTitle := UrlTitle(title) |
| 86 | fmt.Println(formatTitle) |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | func TestFindFirstMatchedWord(t *testing.T) { |
| 91 | var ( |
nothing calls this directly
no test coverage detected