summaryrefslogtreecommitdiff
path: root/tests/data/wrong
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-02-09 17:43:29 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-02-09 17:43:29 +0100
commita96b3e1f7acac3cc7bd0ae74be411e97fc27912c (patch)
treeb3fe9871463c4b74eb456260bbe415ef06efafec /tests/data/wrong
parent00148a2b195b2ca35054346825efabac81629332 (diff)
Simple fixes to improve test coverage
Diffstat (limited to 'tests/data/wrong')
-rw-r--r--tests/data/wrong/items/b9a832309c984ada9f267471660c1313.yaml2
-rw-r--r--tests/data/wrong/settings.yaml6
2 files changed, 8 insertions, 0 deletions
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!'