tests/test.sh in metadata-json-lint-2.2.0 vs tests/test.sh in metadata-json-lint-2.3.0
- old
+ new
@@ -145,9 +145,12 @@
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
+# Run a broken one, expect FAILURE
+test "duplicate-requirement" $FAILURE
+
# 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)"