feat 排队
This commit is contained in:
20
internal/grpc_server/stream_client/scene_test.go
Normal file
20
internal/grpc_server/stream_client/scene_test.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package stream_client
|
||||
|
||||
import (
|
||||
"gateway/internal/testutil"
|
||||
"github.com/stretchr/testify/suite"
|
||||
"testing"
|
||||
)
|
||||
|
||||
type SceneTestSuite struct {
|
||||
testutil.TestSuite
|
||||
}
|
||||
|
||||
func (ts *SceneTestSuite) TestSceneKey() {
|
||||
r := sceneKey(1122, FunAction)
|
||||
ts.Assert().Equal("1122-0", r)
|
||||
}
|
||||
|
||||
func TestLoginTestSuite(t *testing.T) {
|
||||
suite.Run(t, &SceneTestSuite{})
|
||||
}
|
||||
Reference in New Issue
Block a user