mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: list a short set of names in full
The declared-names test now builds its own platform: Batocera files the BK under elektronika-bk since its slug map was completed, so the real data no longer shows two ids for one name.
This commit is contained in:
1 parent
dbcd26d3ab
commit
0ea8bb4e99
3 files changed
+38
-22
No files matched your search
@@ -173,7 +173,10 @@ class ATypoGetsTheNearestNames(unittest.TestCase):
|
||||
["3do", "apple-ii", "sony-playstation"], "--list-systems")
|
||||
self.assertEqual(hint, "Did you mean: sony-playstation? --list-systems lists all 3.")
|
||||
self.assertEqual(common.suggest_names(["zzz"], ["3do"], "--list-systems"),
|
||||
"--list-systems lists all 1.")
|
||||
"Known: 3do.")
|
||||
many = [f"system-{i}" for i in range(40)]
|
||||
self.assertEqual(common.suggest_names(["zzz"], many, "--list-systems"),
|
||||
"--list-systems lists all 40.")
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user