Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMarshalerError (0.37 sec)

  1. 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)
Back to top