mirror of
https://github.com/safing/portbase
synced 2026-05-01 21:21:23 +00:00
FIx linter errors
This commit is contained in:
parent
3c697abd5b
commit
412b4242c2
21 changed files with 39 additions and 57 deletions
|
|
@ -2,7 +2,6 @@ package badger
|
|||
|
||||
import (
|
||||
"context"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"reflect"
|
||||
"sync"
|
||||
|
|
@ -41,7 +40,7 @@ type TestRecord struct { //nolint:maligned
|
|||
func TestBadger(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
testDir, err := ioutil.TempDir("", "testing-")
|
||||
testDir, err := os.MkdirTemp("", "testing-")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue