ai-css/library/modelprovider/errorswrap/errors_test.go
2026-02-12 08:50:11 +00:00

14 lines
222 B
Go
Executable File

package errorswrap
import (
"github.com/stretchr/testify/require"
"testing"
)
func TestCode(t *testing.T) {
e := NewError(ErrorProviderApiUrlInvalid)
require.Equal(t, GetErrorCode(e), ErrorProviderApiUrlInvalid)
}