diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f80c4a7..c676264 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,12 +25,8 @@ jobs: toolchain: stable - uses: taiki-e/install-action@nextest - uses: Swatinem/rust-cache@v2 - - name: Run cargo test - run: cargo nextest run --all-targets --all-features --filter-expr '!test(test_exclude_example_domains)' - - name: Run cargo test (include example domains) - run: cargo nextest run --filter-expr 'test(test_exclude_example_domains)' - - name: Run doctests - run: cargo test --doc + - name: Run tests + run: make test lint: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index c084233..8287378 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,9 @@ lint: ## Run linter .PHONY: test test: ## Run tests - cargo nextest run --all-targets + cargo nextest run --all-targets --all-features --filter-expr '!test(test_exclude_example_domains)' + cargo nextest run --filter-expr 'test(test_exclude_example_domains)' + cargo test --doc .PHONY: doc doc: ## Open documentation diff --git a/fixtures/TEST_VERBATIM.html b/fixtures/TEST_VERBATIM.html index 918a54f..eb550ea 100644 --- a/fixtures/TEST_VERBATIM.html +++ b/fixtures/TEST_VERBATIM.html @@ -1,5 +1,4 @@ -
Some verbatim HTML elements:
-http://www.example.com/pre- +
+ example +
http://www.example.com/code
-
http://www.example.com/samp
-
http://www.example.com/kbd
-
http://www.example.com/var
-