summaryrefslogtreecommitdiff
path: root/tests/files/fail/test_type_timestamp.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/fail/test_type_timestamp.yaml')
-rw-r--r--tests/files/fail/test_type_timestamp.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/files/fail/test_type_timestamp.yaml b/tests/files/fail/test_type_timestamp.yaml
new file mode 100644
index 0000000..1a5e120
--- /dev/null
+++ b/tests/files/fail/test_type_timestamp.yaml
@@ -0,0 +1,15 @@
+---
+name: fail-type-timestamp-1
+desc: Test timestamps that should throw errors
+data:
+ d1: ""
+ d2: "1427650980"
+schema:
+ type: map
+ mapping:
+ d1:
+ type: timestamp
+ d2:
+ type: timestamp
+errors:
+ - "Timestamp value is empty. Path: '/d1'"