diff options
3 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/wrong/items/5748adc272534bb699febe2c92ad05d9.yaml b/tests/data/wrong/items/5748adc272534bb699febe2c92ad05d9.yaml new file mode 100644 index 0000000..9af9c2a --- /dev/null +++ b/tests/data/wrong/items/5748adc272534bb699febe2c92ad05d9.yaml @@ -0,0 +1,14 @@ +name: 'Not a float' +description: | + An entry with a string instead of a floating point +position: '' +# # number (integer): Enter an integer here +number: 0 +# # float (float): Enter a floating point number here +float: "zero point zero" +# # price (decimal): prices are never float! +price: '0' +things: [] +# # cloud (cloud): There is no cloud type +cloud: +category: '' diff --git a/tests/data/wrong/items/b682034f7e2c454aa927606953680330.yaml b/tests/data/wrong/items/b682034f7e2c454aa927606953680330.yaml new file mode 100644 index 0000000..0397d7b --- /dev/null +++ b/tests/data/wrong/items/b682034f7e2c454aa927606953680330.yaml @@ -0,0 +1,14 @@ +name: 'Not an integer' +description: | + An entry with a string instead of a number +position: '' +# # number (integer): Enter an integer here +number: "zero" +# # float (float): Enter a floating point number here +float: 0.0 +# # price (decimal): prices are never float! +price: '0' +things: [] +# # cloud (cloud): There is no cloud type +cloud: +category: '' diff --git a/tests/data/wrong/items/c54ae3caf262423d988cdc99ee9d0348.yaml b/tests/data/wrong/items/c54ae3caf262423d988cdc99ee9d0348.yaml new file mode 100644 index 0000000..493430c --- /dev/null +++ b/tests/data/wrong/items/c54ae3caf262423d988cdc99ee9d0348.yaml @@ -0,0 +1,14 @@ +name: 'Not a decimal' +description: | + An entry with an invalid string for a decimal +position: '' +# # number (integer): Enter an integer here +number: 0 +# # float (float): Enter a floating point number here +float: 0.0 +# # price (decimal): prices are never float! +price: 'nil, nada, nothing' +things: [] +# # cloud (cloud): There is no cloud type +cloud: +category: '' |