提交 75c70c54 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

update test yaml files

上级 1bfe043d
......@@ -20,9 +20,10 @@ fields:
prefix: "["
postfix: "]\t"
- field: field_literal
- field: field_literal # 测试反引号括起来的字面常量同其他区间混合。
range: "`0000-00`,`AA[2,a-z]`,[1-3]:2{3},`[1-3]:2{3}`"
type: text
prefix: "["
postfix: "]\t"
- field: field_nested_range
from: jenkins.number.v1.yaml # 引用用户自定义ranges,存于users目录下。
......@@ -36,12 +37,6 @@ fields:
prefix: "["
postfix: "]\t"
- field: field_nested_instant # 引用其他的定义文件,且该文件引用了其他实例。
from: jenkins.ip.private.yaml # 引用users/jenkins/ip/private.yaml
use: all # 使用该文件中的所有实例。
prefix: "{"
postfix: "}"
- field: field_union_instant
from: jenkins.ip.private.yaml # 引用用户自定义数据,自定义数据使用了联合。
use: privateB_union_privateC
......@@ -52,9 +47,9 @@ fields:
prefix: "["
postfix: "]\t"
froms:
- from: jenkins.number.v1.yaml
use: small{2} # 指定引用个数
postfix: "-"
- from: jenkins.number.v1.yaml
use: large{3} # 指定引用个数
- from: jenkins.number.v1.yaml
use: small{2} # 指定引用个数
postfix: "-"
- from: jenkins.number.v1.yaml
use: large{3} # 指定引用个数
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册