qa/spelling: Add Codespell support (#1121)

* Add codespell support

* Fix paths

* Add HTML files to exclusion list
This commit is contained in:
Adrian Gallagher
2023-01-30 12:36:56 +11:00
committed by GitHub
parent c785ae73a7
commit a79e0d2b3e
108 changed files with 359 additions and 318 deletions

View File

@@ -1808,7 +1808,7 @@ func TestExecutionTypeToOrderStatus(t *testing.T) {
for i := range testCases {
result, _ := stringToOrderStatus(testCases[i].Case)
if result != testCases[i].Result {
t.Errorf("Binanceus Exepcted: %v, received: %v", testCases[i].Result, result)
t.Errorf("Binanceus expected: %v, received: %v", testCases[i].Result, result)
}
}
}

View File

@@ -367,7 +367,7 @@ func (a *KlineStream) UnmarshalJSON(data []byte) error {
return nil
}
// UnmarshalJSON deserialises the JSON info, including the (Timesamp and EventTime) timestamp
// UnmarshalJSON deserialises the JSON info, including the (Timestamp and EventTime) timestamp
func (a *TradeStream) UnmarshalJSON(data []byte) error {
type Alias TradeStream
aux := &struct {