diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-12-23 15:47:42 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-12-23 15:47:42 +0100 |
commit | 9e9492fad4d58c6a19b091f3b85b3250700bfe86 (patch) | |
tree | a04e2d80a5aabafaf42b4d22d792d76c28e5c706 | |
parent | b1eb8b81f875f2b9f7b38239f91bd0c716f86eb3 (diff) |
Individual items for various errors in the test collection
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: '' |