Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 23, 2024
1 parent d34bcfb commit 3ffb009
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/oxc_parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,10 @@ mod test {
let source = "class A { constructor<T>() {} }\n";
let ret = Parser::new(&allocator, source, source_type).parse();
assert_eq!(ret.errors.len(), 1);
assert_eq!(ret.errors.first().unwrap().to_string(), "Type parameters cannot appear on a constructor declaration");
assert_eq!(
ret.errors.first().unwrap().to_string(),
"Type parameters cannot appear on a constructor declaration"
);
}

#[test]
Expand Down

0 comments on commit 3ffb009

Please sign in to comment.