Forcing an invalid rune for testing purposes

前端 未结 0 1480
Happy的楠姐
Happy的楠姐 2021-02-20 05:59

I\'m writing tests in Go and would like to force an invalid unicode character in order to see how the code would respond to bad input. Here\'s what I have:

packag         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题