mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +00:00
New lint rules
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
package nginx
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"npm/internal/entity/host"
|
||||
"npm/internal/model"
|
||||
"npm/internal/test"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go.uber.org/goleak"
|
||||
@ -24,7 +25,7 @@ func TestGetHostFilename(t *testing.T) {
|
||||
{
|
||||
"test1",
|
||||
host.Model{
|
||||
ModelBase: model.ModelBase{
|
||||
Base: model.Base{
|
||||
ID: 10,
|
||||
},
|
||||
},
|
||||
@ -34,7 +35,7 @@ func TestGetHostFilename(t *testing.T) {
|
||||
{
|
||||
"test2",
|
||||
host.Model{
|
||||
ModelBase: model.ModelBase{
|
||||
Base: model.Base{
|
||||
ID: 10,
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user