mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-05 23:16:53 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -1137,7 +1137,7 @@ func TestStringToStatus(t *testing.T) {
|
||||
for i := range testCases {
|
||||
result, _ := stringToOrderStatus(testCases[i].Case, testCases[i].Quantity)
|
||||
if result != testCases[i].Result {
|
||||
t.Errorf("Exepcted: %v, received: %v", testCases[i].Result, result)
|
||||
t.Errorf("Expected: %v, received: %v", testCases[i].Result, result)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ type TradeHistory struct {
|
||||
Trades []OrderFilledResponse `json:"trades"`
|
||||
}
|
||||
|
||||
// IndexTicker holds indexed ticker inforamtion
|
||||
// IndexTicker holds indexed ticker information
|
||||
type IndexTicker struct {
|
||||
Asset string `json:"asset"`
|
||||
Price float64 `json:"price,string"`
|
||||
@@ -633,7 +633,7 @@ type WsLoginResponse struct {
|
||||
WithdrawEnabled bool `json:"withdraw_enabled"`
|
||||
}
|
||||
|
||||
// WsNewOrderResponse returns if new_order response failes
|
||||
// WsNewOrderResponse returns if new_order response fails
|
||||
type WsNewOrderResponse struct {
|
||||
Message string `json:"msg"`
|
||||
Nonce int64 `json:"nonce"`
|
||||
|
||||
Reference in New Issue
Block a user