mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
test: Use correct extensions for fixture tests (#6539)
This commit is contained in:
parent
1393a7ce28
commit
7ee86d1d25
@ -52,7 +52,7 @@ fn pass(input: PathBuf) {
|
||||
|
||||
#[testing::fixture("tests/rules/fail/**/input.css")]
|
||||
fn fail(input: PathBuf) {
|
||||
let stderr_path = input.parent().unwrap().join("output.stderr");
|
||||
let stderr_path = input.parent().unwrap().join("output.swc-stderr");
|
||||
let config_path = input.parent().unwrap().join("config.json");
|
||||
let lint_config =
|
||||
serde_json::from_str::<LintConfig>(&fs::read_to_string(config_path).unwrap()).unwrap();
|
||||
|
@ -547,7 +547,7 @@ fn stylesheet_span_visualizer(input: PathBuf, config: Option<ParserConfig>) {
|
||||
.unwrap_err();
|
||||
|
||||
output
|
||||
.compare_to_file(&dir.join("span.rust-debug"))
|
||||
.compare_to_file(&dir.join("span.swc-stderr"))
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user