mirror of https://github.com/status-im/consul.git
Use split var in tests
This commit is contained in:
parent
bf51021c07
commit
c77123a2aa
|
@ -246,7 +246,7 @@ func genVerifyPeeringListWatchForMeshGateway() verifyWatchRequest {
|
||||||
return func(t testing.TB, request any) {
|
return func(t testing.TB, request any) {
|
||||||
reqReal, ok := request.(*cachetype.PeeringListRequest)
|
reqReal, ok := request.(*cachetype.PeeringListRequest)
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
require.Equal(t, structs.WildcardSpecifier, reqReal.Request.Partition)
|
require.Equal(t, acl.WildcardPartitionName, reqReal.Request.Partition)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue