mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-09 15:11:10 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -104,7 +104,7 @@ func TestGetMarketDepths(t *testing.T) {
|
||||
}
|
||||
a, _ := l.GetMarketDepths(context.Background(), testCurrencyPair, "4", "0")
|
||||
if len(a.Data.Asks) != 4 {
|
||||
t.Errorf("asks length requested doesnt match the output")
|
||||
t.Errorf("asks length requested doesn't match the output")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ func TestGetUserInfo(t *testing.T) {
|
||||
func TestCreateOrder(t *testing.T) {
|
||||
t.Parallel()
|
||||
if !areTestAPIKeysSet() || !canManipulateRealOrders {
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isnt set correctly")
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isn't set correctly")
|
||||
}
|
||||
cp := currency.NewPairWithDelimiter(currency.BTC.String(), currency.USDT.String(), "_")
|
||||
_, err := l.CreateOrder(context.Background(), cp.Lower().String(), "what", 1231, 12314)
|
||||
@@ -181,7 +181,7 @@ func TestCreateOrder(t *testing.T) {
|
||||
func TestRemoveOrder(t *testing.T) {
|
||||
t.Parallel()
|
||||
if !areTestAPIKeysSet() || !canManipulateRealOrders {
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isnt set correctly")
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isn't set correctly")
|
||||
}
|
||||
cp := currency.NewPairWithDelimiter(currency.ETH.String(), currency.BTC.String(), "_")
|
||||
_, err := l.RemoveOrder(context.Background(),
|
||||
@@ -280,7 +280,7 @@ func TestGetWithdrawConfig(t *testing.T) {
|
||||
func TestWithdraw(t *testing.T) {
|
||||
t.Parallel()
|
||||
if !areTestAPIKeysSet() || !canManipulateRealOrders {
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isnt set correctly")
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isn't set correctly")
|
||||
}
|
||||
_, err := l.Withdraw(context.Background(), "", "", "", "", "", "")
|
||||
if err != nil {
|
||||
@@ -365,7 +365,7 @@ func TestSubmitOrder(t *testing.T) {
|
||||
func TestCancelOrder(t *testing.T) {
|
||||
t.Parallel()
|
||||
if !areTestAPIKeysSet() || !canManipulateRealOrders {
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isnt set correctly")
|
||||
t.Skip("skipping test, either api keys or manipulaterealorders isn't set correctly")
|
||||
}
|
||||
cp := currency.NewPairWithDelimiter(currency.ETH.String(), currency.BTC.String(), "_")
|
||||
var a order.Cancel
|
||||
|
||||
Reference in New Issue
Block a user