Skip to content

Commit

Permalink
--fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 29, 2023
1 parent a0f2a51 commit fcee708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/src/parser/stmt.rs
Expand Up @@ -1344,7 +1344,7 @@ mod tests {
use swc_ecma_visit::assert_eq_ignore_span;

use super::*;
use crate::{EsConfig, TsConfig};
use crate::EsConfig;

fn stmt(s: &'static str) -> Stmt {
test_parser(s, Syntax::default(), |p| p.parse_stmt(true))
Expand Down
4 changes: 1 addition & 3 deletions crates/swc_ecma_parser/src/parser/typescript.rs
Expand Up @@ -2838,9 +2838,7 @@ mod tests {
use swc_ecma_ast::*;
use swc_ecma_visit::assert_eq_ignore_span;

use crate::{
lexer::Lexer, test_parser, token::*, Capturing, EsVersion, Parser, Syntax, TsConfig,
};
use crate::{lexer::Lexer, test_parser, token::*, Capturing, EsVersion, Parser, Syntax};

#[test]
fn issue_708_1() {
Expand Down

0 comments on commit fcee708

Please sign in to comment.