mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 15:10:54 +00:00
golangci-lint/CI: Bump versions and introduce new linters (#798)
* golangci-lint/CI: Bump versions
Fix remaining linter issues
* Specifically set AppVeyor version
* Fix the infamous typos 👀
* Add go env cmd to AppVeyor
* Add go version cmd to AppVeyor
* Specify AppVeyor image, adjust linters
* Update go get to go install due to deprecation
* Bump golangci-lint timeout time for AppVeyor
* Change NW contract to NQ
* Address nitters
* GetRandomPair -> Pair{}
* Address nits
* Address time nitterinos plus additional tweaks
* More time inception upgrades!
* Bending time and space
This commit is contained in:
@@ -279,7 +279,7 @@ func TestVMWithRunnerOnce(t *testing.T) {
|
||||
config: configHelper(true, true, maxTestVirtualMachines),
|
||||
started: 1,
|
||||
}
|
||||
vmCount := VMSCount.Len()
|
||||
vmCount := VMSCount.Len() // nolint:ifshort,nolintlint // false positive and triggers only on Windows
|
||||
VM := manager.New()
|
||||
if VM == nil {
|
||||
t.Fatal("Failed to allocate new VM exiting")
|
||||
@@ -533,8 +533,7 @@ func TestVMLimit(t *testing.T) {
|
||||
config: configHelper(true, false, 0),
|
||||
started: 1,
|
||||
}
|
||||
testVM := manager.New()
|
||||
if testVM != nil {
|
||||
if testVM := manager.New(); testVM != nil {
|
||||
t.Fatal("expected nil but received pointer to VM")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user