Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Mar 24, 2023
1 parent a29ef5d commit b2f37b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Expand Up @@ -30,7 +30,7 @@ exports[`abstract-method.ts [typescript] format 1`] = `
5 |"
`;
exports[`accessor.ts [babel-ts] format 1`] = `
exports[`accessor.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
Expand All @@ -56,17 +56,6 @@ class A {
================================================================================
`;
exports[`accessor.ts [typescript] format 1`] = `
"Decorators cannot be applied to multiple get/set accessors of the same name. (4:5)
2 | @foo()
3 | get a() {return 1}
> 4 | @bar()
| ^^^^^^
5 | set a(v) {}
6 | }
7 |"
`;
exports[`argument-list-preserve-line.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]
Expand Down
2 changes: 1 addition & 1 deletion tests/format/typescript/decorators/jsfmt.spec.js
@@ -1,3 +1,3 @@
run_spec(__dirname, ["typescript"], {
errors: { typescript: ["abstract-method.ts", "accessor.ts"] },
errors: { typescript: ["abstract-method.ts"] },
});

0 comments on commit b2f37b4

Please sign in to comment.