Skip to content

Commit 2be668c

Browse files
committed
test: add negative case for number addition in nodeSuggestion tests
1 parent b44d772 commit 2be668c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/nodeSuggestion.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ describe("getNodeSuggestions", () => {
4444
'std::control::value'
4545
]))
4646

47+
expect(map).toEqual(expect.not.arrayContaining([
48+
"std::number::add"
49+
]))
50+
4751
});
4852

4953
it("should suggest functions with compatible return types and prioritize exact matches for boolean", () => {

0 commit comments

Comments
 (0)