mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-26 13:47:20 -05:00
fix: answer the search gate's missed queries
terms weighs 20, so the version table outranks MAME parts. The FAQ carries ios, iphone, ipad, the file page check my dump, and a console's regional lead names it (the PlayStation BIOS). The FAQ quotes the bootstrap's fingerprint message again. The troubleshooting page, which answers the dc/ trap, joins the pages that answer dc bios missing. The gate starts node without its compile cache.
This commit is contained in:
1 parent
e5cd024e2e
commit
b5173ce72f
6 files changed
+28
-16
No files matched your search
@@ -291,7 +291,7 @@ class SearchFoldsPagesUnderAHash(unittest.TestCase):
|
||||
|
||||
def test_search_fields_are_weighted_and_never_shown(self):
|
||||
config = _read(CONFIG)
|
||||
self.assertIn("metaWeights: { title: 10, files: 0.5, aliases: 5, devices: 5, consoles: 10, terms: 10 },", config)
|
||||
self.assertIn("metaWeights: { title: 10, files: 0.5, aliases: 5, devices: 5, consoles: 10, terms: 20 },", config)
|
||||
self.assertIn("const UNSHOWN_FIELDS = new Set(['files', 'aliases', 'devices', 'consoles', 'terms']);", _read(SITE_TS))
|
||||
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ class ShortCodeMarked(unittest.TestCase):
|
||||
self.assertIn('class="rb-short"', _built(""))
|
||||
|
||||
def test_the_options_table(self):
|
||||
self.assertRegex(_built("wiki/installer"), r'<table class="rb-options"')
|
||||
self.assertRegex(_built("wiki/installer"), r'<table[^>]*\sclass="(?:[^"]*\s)?rb-options[\s"]')
|
||||
|
||||
|
||||
class SearchFields(unittest.TestCase):
|
||||
@@ -214,7 +214,7 @@ class SearchFields(unittest.TestCase):
|
||||
|
||||
def test_declared_and_never_shown(self):
|
||||
config = _read(CONFIG)
|
||||
self.assertIn("metaWeights: { title: 10, files: 0.5, aliases: 5, devices: 5, consoles: 10, terms: 10 },", config)
|
||||
self.assertIn("metaWeights: { title: 10, files: 0.5, aliases: 5, devices: 5, consoles: 10, terms: 20 },", config)
|
||||
self.assertIn("const UNSHOWN_FIELDS = new Set(['files', 'aliases', 'devices', 'consoles', 'terms']);", _read(SITE_TS))
|
||||
|
||||
|
||||
|
||||
@@ -263,7 +263,7 @@ class TheReferencePagesAnswerTheirWords(unittest.TestCase):
|
||||
def test_find_or_check_a_file(self):
|
||||
page = generate_site.generate_files_page()
|
||||
self.assertTrue(page.startswith(
|
||||
"---\nterms: check dump, md5 check, verify bios file, check hash\n---\n"))
|
||||
"---\nterms: check my dump, md5 check, verify bios file, check hash\n---\n"))
|
||||
self.assertIn("\n# Find or check a file\n\nCheck a BIOS dump: paste its hash "
|
||||
"or choose the file.\n", page)
|
||||
|
||||
|
||||
Reference in new issue
Block a user