mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-12 04:53:52 -06:00
fix: hold the exit status page to code 3
This commit is contained in:
1 parent
2ae34b9497
commit
faf444a476
1 file changed
+3
-3
@@ -613,10 +613,10 @@ class ExitStatusAndPinnedInstaller(unittest.TestCase):
|
||||
self.text = _wiki("installer.md")
|
||||
self.source = (REPO_ROOT / "install.py").read_text(encoding="utf-8")
|
||||
|
||||
def test_the_check_event_tells_missing_from_failure(self):
|
||||
def test_the_code_tells_missing_from_failure(self):
|
||||
section = _flat(_section(self.text, "Exit status"))
|
||||
self.assertIn("read the `check` event", section)
|
||||
self.assertIn("`missing` and `wrong_hash` count what is left", section)
|
||||
self.assertIn("`--check` tells missing files (`3`) from a failure (`1`) by its code", section)
|
||||
self.assertIn("is left in `missing` and `wrong_hash`", section)
|
||||
fields = re.search(r'"check": \(([^)]*)\)', self.source).group(1)
|
||||
for field in ("missing", "wrong_hash"):
|
||||
with self.subTest(field=field):
|
||||
|
||||
Reference in new issue
Block a user