@@ -4032,7 +4032,8 @@ func testUpdateExts(nhs ...testNameBasicHandle) {
40324032 // add extensions for time.Time, excl json and binc (which have builtin support)
40334033 switch nh .n {
40344034 case "cbor" :
4035- sx (timeTyp , 1 , tUnixTimeIntfExt ) // MARKER 2025 (need to test ext here - not depend on builtin support)
4035+ // explicitly test ext here - not depend on builtin support)
4036+ sx (timeTyp , 1 , tUnixTimeIntfExt )
40364037 case "msgpack" :
40374038 sx (timeTyp , 1 , tTimeBytesExt )
40384039 case "simple" :
@@ -4146,19 +4147,19 @@ func testEqualH(v1, v2 interface{}, h Handle) (err error) {
41464147 rcopy (src .Field (i ), target .Field (i ))
41474148 }
41484149 }
4149- case reflect .String :
4150- // MARKER 2025 - need to all use same functions to compare
4151- // s := src.String()
4152- // if isJson && bh.StringToRaw {
4153- // s = base64.StdEncoding.EncodeToString(bytesView(s))
4154- // // dbuf := make([]byte, base64.StdEncoding.DecodedLen(len(s)))
4155- // // n, err := base64.StdEncoding.Decode(dbuf, bytesView(s))
4156- // // if err == nil {
4157- // // s = stringView(dbuf[:n])
4158- // // }
4159- // }
4160- // target.SetString(s)
4161- target .Set (src )
4150+ // case reflect.String:
4151+ // // MARKER 2025 - need to all use same functions to compare
4152+ // // s := src.String()
4153+ // // if isJson && bh.StringToRaw {
4154+ // // s = base64.StdEncoding.EncodeToString(bytesView(s))
4155+ // // // dbuf := make([]byte, base64.StdEncoding.DecodedLen(len(s)))
4156+ // // // n, err := base64.StdEncoding.Decode(dbuf, bytesView(s))
4157+ // // // if err == nil {
4158+ // // // s = stringView(dbuf[:n])
4159+ // // // }
4160+ // // }
4161+ // // target.SetString(s)
4162+ // target.Set(src)
41624163 default : // Basic types: int, string, bool, etc.
41634164 target .Set (src )
41644165 // if src.Type().AssignableTo(target.Type()) {
0 commit comments