swc/crates/testing_macros/tests/test.rs
Donny/강동윤 9b76783281
refactor(common): Cleanup & rustfmt (#3495)
swc_common:
 - Merge identical source codes.

swc_css_parser:
 - Deny `clippy::all`.
 - Fix lints.
2022-02-09 06:33:32 +00:00

19 lines
400 B
Rust

#![deny(unused)]
use std::path::PathBuf;
use testing_macros::fixture;
#[fixture("tests/simple/*.ts")]
fn simple(_path: PathBuf) {}
#[fixture("tests/ignore/**/*.ts")]
fn ignored(_path: PathBuf) {}
#[fixture("tests/simple/**/*.ts")]
#[fixture("tests/simple/**/*.tsx")]
fn multiple(_path: PathBuf) {}
#[fixture("tests/simple/**/*", exclude(".*\\.tsx", ".*.d\\.ts"))]
fn exclude(_path: PathBuf) {}