Skip to content

Commit

Permalink
Code review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjprescott committed Apr 16, 2024
1 parent 69690b0 commit 5c604fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/compiler/test/parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -720,9 +720,9 @@ describe("compiler: parser", () => {
[
`@doc("foo")\n#suppress "foo"\nnamespace Foo.Bar {}`,
(node) => {
const fooNs = node.statements[0] as NamespaceStatementNode;
const fooNs = node.statements[0];
assert(fooNs.kind === SyntaxKind.NamespaceStatement);
const barNs = (fooNs as any).statements as NamespaceStatementNode;
const barNs = (fooNs as any).statements;
assert(barNs.kind === SyntaxKind.NamespaceStatement);
assert(fooNs.id.sv === "Foo");
assert(barNs.id.sv === "Bar");
Expand Down

0 comments on commit 5c604fd

Please sign in to comment.