mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-22 07:26:50 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -260,7 +260,7 @@ func (w *Orderbook) processObUpdate(o *orderbookHolder, u *orderbook.Update) err
|
||||
return nil
|
||||
}
|
||||
|
||||
// updateByPrice ammends amount if match occurs by price, deletes if amount is
|
||||
// updateByPrice amends amount if match occurs by price, deletes if amount is
|
||||
// zero or less and inserts if not found.
|
||||
func (o *orderbookHolder) updateByPrice(updts *orderbook.Update) {
|
||||
o.ob.UpdateBidAskByPrice(updts)
|
||||
|
||||
@@ -224,7 +224,7 @@ func TestTrafficMonitorTimeout(t *testing.T) {
|
||||
// await timeout closure
|
||||
ws.Wg.Wait()
|
||||
if ws.IsTrafficMonitorRunning() {
|
||||
t.Error("should be ded")
|
||||
t.Error("should be dead")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user