test(#4241): bump remaining hardcoded locale-count assertions for vi (14th locale)

Full-suite caught 7 more per-locale count tests: open_in_vscode (->13, a
pre-existing one-locale gap unrelated to vi), usage_cache_hit_detail/usage_cached_percent
(->14), and the i18n_tooltips LOCALE_COUNT (13->14). vi carries these keys.
This commit is contained in:
nesquena-hermes committed 2026-06-24 08:50:52 +00:00
1 parent 1fc24ddf68
commit 1be24e0660
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -63,8 +63,8 @@ def test_context_indicator_surfaces_cache_hit_rate():
def test_cache_usage_labels_are_localized():
src = (ROOT / "static" / "i18n.js").read_text()
assert src.count("usage_cache_hit_detail:") == 13
assert src.count("usage_cached_percent:") == 13
assert src.count("usage_cache_hit_detail:") == 14
assert src.count("usage_cached_percent:") == 14
assert "usage_cache_hit_detail: 'Cache: {0}% hit ({1} read / {2} write)'" in src
assert "usage_cached_percent: '{0}% cached'" in src