2021-07-29 08:18:21 +03:00
|
|
|
#![deny(unused)]
|
|
|
|
|
2020-11-22 12:14:22 +03:00
|
|
|
use std::path::PathBuf;
|
|
|
|
use testing_macros::fixture;
|
|
|
|
|
2021-07-29 08:18:21 +03:00
|
|
|
#[fixture("tests/simple/*.ts")]
|
2020-11-22 12:14:22 +03:00
|
|
|
fn simple(_path: PathBuf) {}
|
|
|
|
|
2021-07-29 08:18:21 +03:00
|
|
|
#[fixture("tests/ignore/**/*.ts")]
|
2020-11-22 12:14:22 +03:00
|
|
|
fn ignored(_path: PathBuf) {}
|
|
|
|
|
2021-07-29 08:18:21 +03:00
|
|
|
#[fixture("tests/simple/**/*.ts")]
|
|
|
|
#[fixture("tests/simple/**/*.tsx")]
|
2020-11-22 12:14:22 +03:00
|
|
|
fn multiple(_path: PathBuf) {}
|
|
|
|
|
2021-07-29 08:18:21 +03:00
|
|
|
#[fixture("tests/simple/**/*", exclude(".*\\.tsx", ".*.d\\.ts"))]
|
2021-10-18 07:07:23 +03:00
|
|
|
fn exclude(_path: PathBuf) {}
|