From 5819b1ca62a61ce39e6d2bcb291e873ab69be142 Mon Sep 17 00:00:00 2001 From: Martin Ball Date: Fri, 23 Oct 2026 01:51:49 +0100 Subject: [PATCH] =?UTF-8?q?#3692:=20review=20=E2=80=94=20comment-id=20test?= =?UTF-8?q?=20checks=20the=20ids,=20not=20a=20wall-clock=20deadline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01CX1hMKX28764Lrx5moxs1o --- crates/docx/tests/it/malformed.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/docx/tests/it/malformed.rs b/crates/docx/tests/it/malformed.rs index c2496de54c..a714f27b36 100644 --- a/crates/docx/tests/it/malformed.rs +++ b/crates/docx/tests/it/malformed.rs @@ -372,11 +372,8 @@ fn comments_with_non_numeric_ids_open_in_linear_time() { ("word/_rels/document.xml.rels", rels.as_bytes()), ("word/comments.xml", comments.as_bytes()), ]); - let t = std::time::Instant::now(); let d = read(&z).unwrap(); - let took = t.elapsed(); assert_eq!(d.comments.len(), n); let ids: std::collections::HashSet<_> = d.comments.keys().collect(); assert_eq!(ids.len(), n, "every comment has its own id"); - assert!(took.as_secs_f32() < 2.0, "opening took {took:?}"); }