Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
fixup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Feb 2, 2016
1 parent 36f6638 commit c80a386
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/non-regression.js
Original file line number Diff line number Diff line change
Expand Up @@ -1340,13 +1340,12 @@ describe("verify", function () {
);
});

it("", function () {

it("fixes issues with flow types and ObjectPattern", function () {
verifyAndAssertMessages([
"import type Foo from 'bar';",
"class Foobar {",
" foo({ bar }: Foo) {}",
" bar({ foo }: Foo) {}",
"export default class Foobar {",
" foo({ bar }: Foo) { bar; }",
" bar({ foo }: Foo) { foo; }",
"}"
].join("\n"),
{ "no-unused-vars": 1 },
Expand Down

0 comments on commit c80a386

Please sign in to comment.