mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
ci: add spell checker and fix existing typo (#3420)
* ci: add spell checker and fix existing typo * chore: move typos.toml to .github * fix: correct config file path
This commit is contained in:
@@ -25,7 +25,7 @@ type (
|
||||
httpClient *http.Client
|
||||
}
|
||||
|
||||
// Endpoint wraps a url to add flag unmarshaling.
|
||||
// Endpoint wraps a url to add flag unmarshalling.
|
||||
Endpoint struct {
|
||||
*url.URL
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ func (e Edge) MarshalGraphson() ([]byte, error) {
|
||||
func (e *Edge) UnmarshalGraphson(data []byte) error {
|
||||
var edge edge
|
||||
if err := graphson.Unmarshal(data, &edge); err != nil {
|
||||
return fmt.Errorf("unmarshaling edge: %w", err)
|
||||
return fmt.Errorf("unmarshalling edge: %w", err)
|
||||
}
|
||||
|
||||
*e = NewEdge(
|
||||
|
||||
@@ -119,7 +119,7 @@ func TestCredentialsBadEncodingMarshaling(t *testing.T) {
|
||||
text: []byte("Kg=="),
|
||||
},
|
||||
{
|
||||
name: "NoSeperator",
|
||||
name: "NoSeparator",
|
||||
text: []byte("AHVzZXI="),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user