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

Commit

Permalink
test value should be switched
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Sep 25, 2018
1 parent 020d012 commit 717fba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/non-regression.js
Expand Up @@ -1092,14 +1092,14 @@ describe("verify", () => {
);
});

it("cyclic type dependencies #485", () => {
it("cyclic type dependencies should not error #485", () => {
verifyAndAssertMessages(
unpad(`
type Node<T> = { head: T, tail: Node<T> };
type A = B[];
type B = number;
`),
{ "no-use-before-define": 1 },
{ "no-use-before-define": 0 },
[]
);
});
Expand Down

0 comments on commit 717fba7

Please sign in to comment.