test value should be switched

This commit is contained in:
Henry Zhu 2018-09-25 15:29:14 -04:00
parent 22fa8e6f20
commit 742aa412a7

View File

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