Skip to content

Add test coverage for check-duplicate-docs warning (issue #115) - #92

Open
jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-115-docs-duplicate-warning
Open

jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:fix-115-docs-duplicate-warning

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

Summary

Adds 3 new tests covering the check-duplicate-docs phony target introduced in pgxntool PR #124:

  • all depends on check-duplicate-docs (issue #115) — structural check via make -p -n
  • check-duplicate-docs stays quiet on template's own DOCS (issue #115) — no false positives
  • check-duplicate-docs warns about a duplicate added after base.mk is included (issue #115) — catches user errors

All tests pass locally.

Paired with: Postgres-Extensions/pgxntool#124

🤖 Generated with Claude Code

Add tests for pgxntool commit c364507 (Warn when DOCS lists the same file more than once):
- Verify all target depends on check-duplicate-docs
- Verify no false-positive warning on template's own DOCS
- Verify warning fires with exact text when duplicate added after include

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: cdc50118-19d4-4b0d-a08d-e1790a3234a3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant