docs: annotate Foundry source and deployment lifecycle in Chinese [skip ci]
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// 本文件记录研究 API 的回归契约;测试注释描述实际断言,不代表本次已运行测试。
|
||||
package research
|
||||
|
||||
import (
|
||||
@@ -7,6 +8,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// TestCursorValidation 验证最大 int64 ID、含控制字符的标题键和反向游标可往返;同时拒绝非法编码、版本及跨筛选复用。
|
||||
func TestCursorValidation(t *testing.T) {
|
||||
f := Filters{Query: "graph", Sort: "title", SearchIn: "text", PageSize: 8}
|
||||
f.Cursor = encodeCursor(f, position{ID: 9223372036854775807, Key: "duplicate\x01title"}, true)
|
||||
|
||||
Reference in New Issue
Block a user