From 5e62f1b8cb02dc4a3a611c72cede9050034ce7fd Mon Sep 17 00:00:00 2001 From: nandithebull Date: Sun, 29 Nov 2026 12:30:15 -0800 Subject: [PATCH] Input test: expect panel version 3 after the clock migration - The old 12-hour clock migration test now asserts the saved panel is version 3, not 2. - The panel format version is bumped, so the test must match it. --- compositor/host/input_test.mbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compositor/host/input_test.mbt b/compositor/host/input_test.mbt index 5335741..5f553a1 100644 --- a/compositor/host/input_test.mbt +++ b/compositor/host/input_test.mbt @@ -554,7 +554,7 @@ test "a panel saved with the old 12-hour clock gets the Digital Clock with the s assert_true(panel.contains("\"clock-digital\"") && !panel.contains("clock-digital12")) // The old Log out button became the launcher, which has Log out now. assert_true(panel.contains("\"launcher\"") && !panel.contains("logout")) - assert_true(panel.contains(":version 2")) + assert_true(panel.contains(":version 3")) // Only once: a format chosen afterwards sticks across restarts. a.set_module_setting(a.slot_of("clock-digital"), "format", "24-hour") assert_eq(boot().module_setting("clock-digital", "format"), Some("24-hour"))