mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -33,6 +33,6 @@ func TestConstructRuntimeError(t *testing.T) {
|
||||
t.Parallel()
|
||||
err := constructRuntimeError(0, "", "", nil)
|
||||
if !errors.Is(err, common.ErrTypeAssertFailure) {
|
||||
t.Fatalf("receieved: '%v' but expected: '%v'", err, common.ErrTypeAssertFailure)
|
||||
t.Fatalf("received: '%v' but expected: '%v'", err, common.ErrTypeAssertFailure)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ func ParseIndicatorSelector(in string) (int, error) {
|
||||
}
|
||||
}
|
||||
|
||||
// ParseMAType returns moving average from sring
|
||||
// ParseMAType returns moving average from string
|
||||
func ParseMAType(in string) (indicators.MaType, error) {
|
||||
in = strings.ToLower(in)
|
||||
switch in {
|
||||
|
||||
Reference in New Issue
Block a user