From a96b3e1f7acac3cc7bd0ae74be411e97fc27912c Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 9 Feb 2020 17:43:29 +0100 Subject: Simple fixes to improve test coverage --- tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml | 2 ++ tests/data/wrong/settings.yaml | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'tests/data/wrong') diff --git a/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml b/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml index ec44b7c..b36cc4e 100644 --- a/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml +++ b/tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml @@ -3,3 +3,5 @@ description: | . position: 'somewhere' number: 'four' +float: 'half and a bit' +price: 'cheap' diff --git a/tests/data/wrong/settings.yaml b/tests/data/wrong/settings.yaml index ef9ab74..243ab62 100644 --- a/tests/data/wrong/settings.yaml +++ b/tests/data/wrong/settings.yaml @@ -12,3 +12,9 @@ fields: - name: number type: integer help: "Enter an integer here" + - name: float + type: float + help: "Enter a floating point number here" + - name: price + type: decimal + help: 'prices are never float!' -- cgit v1.2.3