summaryrefslogtreecommitdiff
path: root/tests/files/success/test_ident.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/success/test_ident.yaml')
-rw-r--r--tests/files/success/test_ident.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/files/success/test_ident.yaml b/tests/files/success/test_ident.yaml
new file mode 100644
index 0000000..0f3c95c
--- /dev/null
+++ b/tests/files/success/test_ident.yaml
@@ -0,0 +1,22 @@
+##
+---
+name: ident1
+desc: ident constraint test
+#
+schema:
+ type: seq
+ sequence:
+ - type: map
+ mapping:
+ "name":
+ ident: true
+ "age":
+ type: int
+#
+data:
+ - name: foo
+ age: 10
+ - name: bar
+ age: 10
+ - name: baz
+ age: 10