Documents: time the drawn-lookup test with web_time
CI / platforms (windows-latest) (push) Failing after 9s
CI / site (push) Successful in 25s
CI / crate (push) Failing after 11m23s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

The component's check bans std Instant; the R4.10 test used it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-14 22:12:51 -04:00
1 parent 2b8bd9fcf3
commit e07fd34fa3
1 file changed
+1 -1
+1 -1
View File
@@ -378,7 +378,7 @@ mod tests {
fn a_long_paragraph_reads_back_in_one_pass() {
let source = "x".repeat(40_000);
let inline = first(&source);
let started = std::time::Instant::now();
let started = web_time::Instant::now();
assert_eq!(inline.drawn_at(&source, 5), Some(5));
let took = started.elapsed();
assert!(took.as_millis() < 500, "took {took:?}");