Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 5583bea

Browse files
committed
test: fix invalid formatting test
1 parent 343c9f4 commit 5583bea

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

test/parser.test.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -379,19 +379,10 @@ describe('Parser', () => {
379379
const node = findNode(contract.vFunctions, '_viewBlockLinterFail');
380380
const result = parseNodeNatspec(node);
381381

382-
expect(result).toEqual(
383-
mockNatspec({
384-
tags: [
385-
{
386-
name: 'notice',
387-
content: 'Some text',
388-
},
389-
],
390-
})
391-
);
382+
expect(result).toEqual(mockNatspec({}));
392383
});
393384

394-
it('should parse block natspec with invalid formatting', async () => {
385+
it('should ignore block natspec with invalid formatting', async () => {
395386
const node = findNode(contract.vFunctions, '_viewLinterFail');
396387
const result = parseNodeNatspec(node);
397388

0 commit comments

Comments
 (0)