github.com/fzfile/BaiduPCS-Go@v0.0.0-20200606205115-4408961cf336/pcsutil/converter/short_display_test.go (about) 1 package converter_test 2 3 import ( 4 "fmt" 5 "github.com/fzfile/BaiduPCS-Go/pcsutil/converter" 6 "testing" 7 ) 8 9 func TestShortDisplay(t *testing.T) { 10 for i := 0; i < 20; i++ { 11 fmt.Println([]byte(converter.ShortDisplay("\u0000我我\u0000我我我我", i))) 12 } 13 }