From 6118f4f6a796ece218d145b626770e3fb9163d91 Mon Sep 17 00:00:00 2001 From: Pavan Shinde Date: Wed, 18 Feb 2026 17:53:48 +0530 Subject: [PATCH] Fix/misc docs and tests (#19652) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary This PR makes a few small consistency fixes: - Fix outdated GitHub links that still point to the old `tailwindcss/tailwindcss` org and update them to `tailwindlabs/tailwindcss` (README + contributing docs + PR template). - Fix punctuation in the contributing guide (“i.e., …”). - Update two test titles to use “cannot” instead of “can not” for consistency. No behavior changes. ## Test plan - Link check (manual): clicked the updated GitHub links in `README.md`, `.github/CONTRIBUTING.md`, and `.github/PULL_REQUEST_TEMPLATE.md` to confirm they resolve correctly. - (Optional) `pnpm test` — not required since changes are docs/test-title-only. --------- Co-authored-by: Robin Malfait --- .github/CONTRIBUTING.md | 2 +- packages/tailwindcss/src/css-functions.test.ts | 2 +- packages/tailwindcss/src/index.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4dfe6eba9..63f79fa10 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -76,7 +76,7 @@ To run the integration tests, use: pnpm build && pnpm test:integrations ``` -Additionally, some features require testing in browsers (i.e to ensure CSS variable resolution works as expected). These can be run via: +Additionally, some features require testing in browsers (i.e. to ensure CSS variable resolution works as expected). These can be run via: ```sh pnpm build && pnpm test:ui diff --git a/packages/tailwindcss/src/css-functions.test.ts b/packages/tailwindcss/src/css-functions.test.ts index 0c5a3c97e..3e880dd8b 100644 --- a/packages/tailwindcss/src/css-functions.test.ts +++ b/packages/tailwindcss/src/css-functions.test.ts @@ -1361,7 +1361,7 @@ test('resolves paths ending with a 1', async () => { `) }) -test('upgrades to a full JS compat theme lookup if a value can not be mapped to a CSS variable', async () => { +test('upgrades to a full JS compat theme lookup if a value cannot be mapped to a CSS variable', async () => { expect( await compileCss( css` diff --git a/packages/tailwindcss/src/index.test.ts b/packages/tailwindcss/src/index.test.ts index 3bc3edad3..5eb7407d8 100644 --- a/packages/tailwindcss/src/index.test.ts +++ b/packages/tailwindcss/src/index.test.ts @@ -3098,7 +3098,7 @@ describe('plugins', () => { ).rejects.toThrowErrorMatchingInlineSnapshot(`[Error: \`@plugin\` must have a path.]`) }) - test('@plugin can not have an empty path', () => { + test('@plugin cannot have an empty path', () => { return expect( compile( css`