mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Fix test_exclude_example_domains (#1712)
* Configure test with the right feature flag * Remove test exclusion, because test is now properly configured
This commit is contained in:
parent
35610764a1
commit
da166ce3c6
2 changed files with 3 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -45,8 +45,8 @@ lint: ## Run linter
|
|||
|
||||
.PHONY: test
|
||||
test: ## Run tests
|
||||
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 nextest run --all-targets --all-features
|
||||
cargo nextest run
|
||||
cargo test --doc
|
||||
|
||||
.PHONY: doc
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ mod cli {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(feature = "check_example_domains"))]
|
||||
fn test_exclude_example_domains() -> Result<()> {
|
||||
let mut cmd = main_command();
|
||||
let input = fixtures_path().join("TEST_EXAMPLE_DOMAINS.md");
|
||||
|
|
|
|||
Loading…
Reference in a new issue