From 96a589782e9a44e5eb1b77e72fff0de721d13a30 Mon Sep 17 00:00:00 2001 From: Jeremy Yeo Date: Thu, 22 Aug 2024 22:15:22 +1200 Subject: [PATCH] Update unit-testing-versions.md (#5946) Fix wrong indentation ## What are you changing in this pull request and why? The indentation in the example appear to be incorrect... it's too indented. Needs to be same level as the `models` key. Did a sense check here: https://www.youtube.com/watch?v=Fwd7u3Wmjuk ## Checklist - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. - [ ] For [docs versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#about-versioning), review how to [version a whole page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) and [version a block of content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content). - [ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." Adding or removing pages (delete if not applicable): - [ ] Add/remove page in `website/sidebars.js` - [ ] Provide a unique filename for new pages - [ ] Add an entry for deleted pages in `website/vercel.json` - [ ] Run link testing locally with `npm run build` to update the links that point to deleted pages --- .../resource-properties/unit-testing-versions.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/docs/reference/resource-properties/unit-testing-versions.md b/website/docs/reference/resource-properties/unit-testing-versions.md index 67236317650..4d28e19e71d 100644 --- a/website/docs/reference/resource-properties/unit-testing-versions.md +++ b/website/docs/reference/resource-properties/unit-testing-versions.md @@ -17,18 +17,18 @@ unit_tests: unit_tests: - name: test_is_valid_email_address model: my_model - versions: - include: - - 2 + versions: + include: + - 2 ... # my test_is_valid_email_address unit test will run on all versions EXCEPT 1 of my_model unit_tests: - name: test_is_valid_email_address model: my_model - versions: - exclude: - - 1 + versions: + include: + - 1 ... -``` \ No newline at end of file +```