WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Commit 191f822

Browse files
dacharyccbullinger
andauthored
Apply suggestions from code review
Co-authored-by: cory <[email protected]>
1 parent cc107d6 commit 191f822

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

audit-cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ This command helps writers and maintainers:
718718
- `--count-by-product` - Display counts for each product
719719
- `--exclude-output` - Only count source files (exclude .txt and .sh files)
720720

721-
**Valid Products:**
721+
**Current Valid Products:**
722722

723723
- `mongosh` - MongoDB Shell
724724
- `csharp/driver` - C#/.NET Driver

audit-cli/commands/count/pages/pages_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,7 @@ func TestCountPagesCodeExamplesInSubdirectory(t *testing.T) {
129129
}
130130

131131
// Manual has a code-examples subdirectory with example.txt
132-
// This should be counted (only root-level code-examples is excluded)
133-
// Expected: index, tutorial, reference, code-examples/example, deprecated/old = 5
134-
// Wait, let me check the actual structure...
135-
// Actually, we created manual/source/code-examples/example.txt
136-
// This should NOT be excluded because it's not at the root of content
132+
// Expected: index, tutorial, reference, deprecated/old = 4
137133
expectedTotal := 4 // We're excluding code-examples at source level too
138134
if result.TotalCount != expectedTotal {
139135
t.Errorf("Expected total count %d, got %d", expectedTotal, result.TotalCount)

0 commit comments

Comments
 (0)