mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -132,7 +132,7 @@ updates:
|
||||
|
||||
// cleanup reduces the max size of the depth length if exceeded. Is used after
|
||||
// updates have been applied instead of adhoc, reason being its easier to prune
|
||||
// at the end. (cant inline)
|
||||
// at the end. (can't inline)
|
||||
func (ll *linkedList) cleanup(maxChainLength int, stack *stack) {
|
||||
// Reduces the max length of total linked list chain, occurs after updates
|
||||
// have been implemented as updates can push length out of bounds, if
|
||||
|
||||
@@ -328,7 +328,7 @@ func (b *Base) Process() error {
|
||||
|
||||
// Reverse reverses the order of orderbook items; some bid/asks are
|
||||
// returned in either ascending or descending order. One bid or ask slice
|
||||
// depending on whats received can be reversed. This is usually faster than
|
||||
// depending on what's received can be reversed. This is usually faster than
|
||||
// using a sort algorithm as the algorithm could be impeded by a worst case time
|
||||
// complexity when elements are shifted as opposed to just swapping element
|
||||
// values.
|
||||
|
||||
@@ -387,7 +387,7 @@ func TestProcessOrderbook(t *testing.T) {
|
||||
base.Asset = asset.Spot
|
||||
err = base.Process()
|
||||
if err != nil {
|
||||
t.Error("unexpcted result: ", err)
|
||||
t.Error("unexpected result: ", err)
|
||||
}
|
||||
result, err := Get("ProcessOrderbook", c, asset.Spot)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user