Files
hjsq_server/common/constant/redisconst/most_new_module_test.go
2026-10-08 16:50:13 +08:00

11 lines
268 B
Go

package redisconst
import "testing"
func TestMostNewModuleVideoListKeyKeepsOriginalFormat(t *testing.T) {
got := GetMostNewModuleVideoListKey(1, 1, 10)
if want := "mostNewModuleVideoList:1:1:10"; got != want {
t.Fatalf("cache key = %q, want %q", got, want)
}
}