From 64b403f7ebc81825f43811ba888f5b339f5ebc1b Mon Sep 17 00:00:00 2001 From: Vuong Hoang Date: Thu, 24 Sep 2026 16:00:01 -0700 Subject: [PATCH] test(r3): re-anchor the review's C-key row on the guarded handler --- tests/mutations/r3.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mutations/r3.toml b/tests/mutations/r3.toml index e38f1bf..eb29e11 100644 --- a/tests/mutations/r3.toml +++ b/tests/mutations/r3.toml @@ -323,7 +323,7 @@ label = "INV-6 the review has no C key" file = "booth/templates/view.html" test = "tests/test_compare_browser.py::test_the_keys_keep_the_reviews_guards_and_c_toggles_the_view" old = ''' - else if (e.key === 'c' || e.key === 'C') { e.preventDefault(); window.location.href = COMPARE; }''' + else if ((e.key === 'c' || e.key === 'C') && COMPARE) { e.preventDefault(); window.location.href = COMPARE; }''' new = ''' '''