Skip to content

Fix "PostgresSQL" typo to "PostgreSQL" in test code#2286

Open
hobostay wants to merge 1 commit into
pgcentralfoundation:developfrom
hobostay:fix-postgresql-typo-tests
Open

Fix "PostgresSQL" typo to "PostgreSQL" in test code#2286
hobostay wants to merge 1 commit into
pgcentralfoundation:developfrom
hobostay:fix-postgresql-typo-tests

Conversation

@hobostay
Copy link
Copy Markdown

@hobostay hobostay commented May 4, 2026

Summary

  • Fixes 5 instances of "PostgresSQL" (double S) to the correct spelling "PostgreSQL" in test code

Details

In pgrx-pg-config/src/lib.rs, several test cases used the misspelling "PostgresSQL" instead of "PostgreSQL":

  • Lines 929, 931, 933, 935 (parse_invalid test): Version strings used "PostgresSQL" prefix. While these test invalid version formats (not the prefix), using the correct spelling makes the tests more realistic.
  • Line 948 (from_empty_env test): The PGRX_PG_CONFIG_VERSION env var was set to "PostgresSQL 15.1" but is expected to parse successfully. Using the correct spelling ensures the test matches real PostgreSQL output.

Test plan

  • No code logic changed, only test string literals
  • Verified zero remaining instances of "PostgresSQL" in the codebase

🤖 Generated with Claude Code

Five instances of "PostgresSQL" (double S) were corrected to the
proper spelling "PostgreSQL" in pgrx-pg-config test cases.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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