Skip to content

Commit f7ef032

Browse files
committed
test(linter/prefer-namespace-keyword): remove test case with invalid syntax (#15833)
1 parent 646d020 commit f7ef032

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

crates/oxc_linter/src/rules/typescript/prefer_namespace_keyword.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ fn test() {
100100
module foo {}
101101
}
102102
",
103-
"module foo.'a'",
104103
];
105104

106105
let fix = vec![

crates/oxc_linter/src/snapshots/typescript_prefer_namespace_keyword.snap

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,3 @@ source: crates/oxc_linter/src/tester.rs
4949
4 │ }
5050
╰────
5151
help: Replace `module` with `namespace`.
52-
53-
× Unexpected token
54-
╭─[prefer_namespace_keyword.tsx:1:12]
55-
1module foo.'a'
56-
· ───
57-
╰────

0 commit comments

Comments
 (0)