1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-15 22:50:24 +02:00

fix #236 case sensitive when both upper case and lower case presents

This commit is contained in:
Tao Wen
2018-02-14 11:33:17 +08:00
parent 64cc784089
commit 24bb2eee9f
4 changed files with 196 additions and 197 deletions

View File

@ -1,12 +1,12 @@
package test
func init() {
//testCases = append(testCases,
// (*struct {
// Upper bool `json:"M"`
// Lower bool `json:"m"`
// })(nil),
//)
testCases = append(testCases,
(*struct {
Upper bool `json:"M"`
Lower bool `json:"m"`
})(nil),
)
asymmetricTestCases = append(asymmetricTestCases, [][2]interface{}{
{
(*struct {