tests/test.sh in metadata-json-lint-2.1.0 vs tests/test.sh in metadata-json-lint-2.2.0
- old
+ new
@@ -142,9 +142,12 @@
test "json_format" $FAILURE --format json
# Run against a metadata.json with a string for the requirements
test "non_array_requirements" $FAILURE
+# Run against a metadata.json with an unsupported minimum Puppet version for the requirements
+test "requirements_eol_version" $FAILURE --strict-puppet-version
+
# Test running without specifying file to parse
cd perfect
bundle exec metadata-json-lint
if [ $? -ne 0 ]; then
fail "Failing Test 'running without specifying metadata.json' (bin)"