docs: annotate Foundry source and deployment lifecycle in Chinese [skip ci]
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// 内容 schema 的纯函数回归,不访问数据库或远程图片。
|
||||
package platform
|
||||
|
||||
import (
|
||||
@@ -5,6 +6,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// TestContentValidation 按素材种类检查合法草稿、重复块 ID、未知字段/版本、图片 URL 和互斥内容,并检查规范化输出仍为合法 JSON。
|
||||
func TestContentValidation(t *testing.T) {
|
||||
cases := []struct {
|
||||
name, kind, body string
|
||||
|
||||
Reference in New Issue
Block a user