diff --git a/README.md b/README.md
index 5671667..5a1cf7e 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Yamale (ya·ma·lē)
| :warning: Ensure that your schema definitions come from internal or trusted sources. Yamale does not protect against intentionally malicious schemas. |
|:------------|
-
+
A schema and validator for YAML.
@@ -35,7 +35,7 @@ building Python 3 from source; in all three cases, Apple's Command Line Tools (C
may be required. See also [developers](#developers), below.
### Manual
-1. Download Yamale from: https://github.com/23andMe/Yamale/archive/main.zip
+1. Download Yamale from: https://github.com/23andMe/Yamale/archive/master.zip
2. Unzip somewhere temporary
3. Run `python setup.py install` (may have to prepend `sudo`)
diff --git a/yamale/tests/test_command_line.py b/yamale/tests/test_command_line.py
index da80c96..5f42920 100644
--- a/yamale/tests/test_command_line.py
+++ b/yamale/tests/test_command_line.py
@@ -57,6 +57,16 @@ def test_multiple_paths_good_yaml():
], "schema.yaml", 1, "PyYAML")
+def test_multiple_paths_bad_yaml():
+ with pytest.raises(ValueError) as e:
+ command_line._router([
+ "yamale/tests/command_line_fixtures/yamls/bad.yaml",
+ "yamale/tests/command_line_fixtures/yamls/required_keys_bad.yaml",
+ ], "schema.yaml", 1, "PyYAML")
+ assert "map.bad: '12.5' is not a str." in e.value.message
+ assert "map.key: Required field missing" in e.value.message
+
+
@pytest.mark.parametrize("parser", parsers)
def test_good_relative_yaml(parser):
command_line._router(