mirror of https://github.com/gofiber/fiber.git
fix: lint error
parent
d8c5b4e06a
commit
14a8cc4220
|
@ -2,7 +2,6 @@ package session
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -1553,7 +1552,7 @@ type mockGetErrorStorage struct {
|
|||
|
||||
func (m *mockGetErrorStorage) Get(id string) ([]byte, error) {
|
||||
if id == "session-with-error" {
|
||||
return nil, fmt.Errorf("mock get error")
|
||||
return nil, errors.New("mock get error")
|
||||
}
|
||||
return m.realStorage.Get(id)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue