mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 07:33:45 -06:00
feat: taps follow the row, quits exit 2
code_audit_19 and tui_audit_12. A tap ticks a box and opens a choice on a second tap of the row the screen saw tapped. One list drives the plan's game data row, save line and data files. The version note, --offline in shown commands, exit 2 for a chosen quit, legacy mouse reports read from bytes, colour roles that read their words, the setup list's device column, the copy browser, a drive two systems fit, WSL's Windows folder, and line mode wording.
This commit is contained in:
1 parent
a1d094c8b3
commit
c8377de90d
27 files changed
+1978
-565
No files matched your search
@@ -1790,7 +1790,7 @@ class TestDetectedPlatformPrompt(unittest.TestCase):
|
||||
def test_q_quits_and_the_menu_says_so(self):
|
||||
result, out = self._answer("q")
|
||||
self.assertIsInstance(result, SystemExit)
|
||||
self.assertEqual(result.code, 130)
|
||||
self.assertEqual(result.code, install.QUIT_CODE)
|
||||
self.assertIn("q) quit", out)
|
||||
|
||||
def test_a_wrong_answer_names_the_choices(self):
|
||||
@@ -1859,7 +1859,7 @@ class TestManualPlatformPrompt(unittest.TestCase):
|
||||
with unittest.mock.patch("builtins.input", lambda _prompt="": "q"):
|
||||
with self.assertRaises(SystemExit) as raised:
|
||||
install._prompt_manual_platform("linux")
|
||||
self.assertEqual(raised.exception.code, 130)
|
||||
self.assertEqual(raised.exception.code, install.QUIT_CODE)
|
||||
|
||||
def test_quotes_around_a_typed_folder_are_dropped(self):
|
||||
"""Explorer's "Copy as path" quotes the folder: the files went into a
|
||||
|
||||
Reference in new issue
Block a user