Skip to main content

max / makeover-webview

Format the caret test
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-12 14:19 UTC
Signed with PGP, not checked
Commit: 902b034fd282f582ee29e5d53bab0e9de55fd6f4
Parent: 7ed1505
1 file changed, +4 insertions, -1 deletion
M src/lib.rs +4 -1
@@ -1821,7 +1821,10 @@
1821 1821 .find(".table-heading[aria-sort=\"ascending\"]::after")
1822 1822 .expect("the ascending caret is emitted");
1823 1823 assert!(reserve < sorted, "{css}");
1824 - assert!(css[reserve..sorted].contains("visibility: hidden;"), "{css}");
1824 + assert!(
1825 + css[reserve..sorted].contains("visibility: hidden;"),
1826 + "{css}"
1827 + );
1825 1828 assert!(css[sorted..].contains("visibility: visible;"), "{css}");
1826 1829 }
1827 1830