Skip to content

Commit

Permalink
Remove an unnecessary null check in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu committed Oct 3, 2024
1 parent 6fa4477 commit 8e2d219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/units/15_completion_macro.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe(path.basename(__filename).split('.')[0] + ':', () => {
const suggestion = getSuggestions().find(s => s.label === '\\RenewAcroPreset{}{}')
const snippet = suggestion?.insertText
assert.ok(snippet instanceof vscode.SnippetString)
assert.ok(!snippet.value.includes('%keyvals'), snippet?.value)
assert.ok(!snippet.value.includes('%keyvals'), snippet.value)
})

it('should not provide argument hints if `intellisense.argumentHint.enabled` is false', async () => {
Expand Down

0 comments on commit 8e2d219

Please sign in to comment.