Files
huangguo_server/common/constant/redisconst/most_new_module_test.go
T
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +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)
}
}