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

Commit 717fba7

Browse files
committed
test value should be switched
1 parent 020d012 commit 717fba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/non-regression.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1092,14 +1092,14 @@ describe("verify", () => {
10921092
);
10931093
});
10941094

1095-
it("cyclic type dependencies #485", () => {
1095+
it("cyclic type dependencies should not error #485", () => {
10961096
verifyAndAssertMessages(
10971097
unpad(`
10981098
type Node<T> = { head: T, tail: Node<T> };
10991099
type A = B[];
11001100
type B = number;
11011101
`),
1102-
{ "no-use-before-define": 1 },
1102+
{ "no-use-before-define": 0 },
11031103
[]
11041104
);
11051105
});

0 commit comments

Comments
 (0)