From 6a11672f9b3a0b4b48843ff5e39daae1f0e5ea89 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 9 Feb 2020 18:28:46 +0100 Subject: Fail validation for entries with empty list fields --- tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml | 3 ++- tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml | 1 + tests/data/complex/items/d4f361b0e3e541508eaf82c04451797f.yaml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/data/complex') diff --git a/tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml b/tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml index 58b84bb..54db12f 100644 --- a/tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml +++ b/tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml @@ -3,4 +3,5 @@ description: | . position: 'somewhere' something: '' -tags: +tags: [] +keywords: [] diff --git a/tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml b/tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml index b6787b0..f38a56a 100644 --- a/tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml +++ b/tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml @@ -9,3 +9,4 @@ tags: - this - that exists: true +keywords: [] diff --git a/tests/data/complex/items/d4f361b0e3e541508eaf82c04451797f.yaml b/tests/data/complex/items/d4f361b0e3e541508eaf82c04451797f.yaml index 2331e69..d2be3f3 100644 --- a/tests/data/complex/items/d4f361b0e3e541508eaf82c04451797f.yaml +++ b/tests/data/complex/items/d4f361b0e3e541508eaf82c04451797f.yaml @@ -3,5 +3,5 @@ description: | This entry has no tags and no keywords position: '' something: -tags: -keywords: +tags: [] +keywords: [] -- cgit v1.2.3