From da05cbaddfd481b218c900aa9fe4752c0fe34eaf Mon Sep 17 00:00:00 2001 From: okwn Date: Thu, 21 May 2026 15:23:04 +0000 Subject: [PATCH] test: update outdated comments in wc classification tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bug described in the comment has been fixed — 'wc ' was removed from IGNORED_PREFIXES. Updated the comment to reflect the current correct behavior rather than describing a past bug state. --- src/discover/registry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/discover/registry.rs b/src/discover/registry.rs index bb7b11f2a..faccebf3e 100644 --- a/src/discover/registry.rs +++ b/src/discover/registry.rs @@ -3521,8 +3521,8 @@ mod tests { #[test] fn test_classify_wc_supported() { - // BUG: "wc " was in IGNORED_PREFIXES despite wc_cmd.rs having a full filter. - // This test documents the bug: it must FAIL before the fix and PASS after. + // "wc " was removed from IGNORED_PREFIXES so wc_cmd.rs filter is now active. + // This test verifies the fix is working: wc commands are now classified as Supported. assert_eq!( classify_command("wc -l src/main.rs"), Classification::Supported {