//! `retired`'s tests: the Worker's twin says the same lists.usesuper::*;/// RULE (owner, 17 Nov 2026): the phone's keep and the object's keep/// retire one list, so the Worker's twin says the same lists.#[test]fn the_retired_lists_are_the_workers() {let worker = include_str!("../../../apps/business/src/retired.ts");let said = |name: &str| -> Vec<String> {let at = worker.find(&format!("export const {name} = ")).unwrap_or_else(|| panic!("retired.ts says no {name}"));let rest = &worker[at..];let line = &rest[..rest.find('\n').unwrap()];let open = line.find('[').unwrap() + 1;let close = line.rfind(']').unwrap(); line[open..close].split(',').map(|s| s.trim().trim_matches('"').to_owned()).filter(|s| !s.is_empty()).collect() }; assert_eq!(said("GONE_TABLES"), GONE_TABLES); assert_eq!(said("GONE_TOOLS"), GONE_TOOLS); assert!(is_gone_table("screenplay_scene")); assert!(!is_gone_table("story_scene"));}