- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMarshalerError (0.37 sec)
-
src/encoding/json/encode_test.go
&MarshalerError{st, fmt.Errorf(errText), ""}, "json: error calling MarshalJSON for type " + st.String() + ": " + errText, }, { Name(""), &MarshalerError{st, fmt.Errorf(errText), "TestMarshalerError"}, "json: error calling TestMarshalerError for type " + st.String() + ": " + errText, }} for _, tt := range tests { t.Run(tt.Name, func(t *testing.T) { got := tt.err.Error() if got != tt.want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0)