Skip to content

Commit 2b7df71

Browse files
committed
added unit test for #48
Added unit test for missing operator from pr #48 credits to @ChuckJonas
1 parent de3ad0f commit 2b7df71

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

test/TestCases.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,5 +1511,29 @@ export const testCases: TestCase[] = [
15111511
sObject: 'Lead',
15121512
},
15131513
},
1514+
{
1515+
testCase: 33,
1516+
soql: `SELECT Id, Name FROM Account WHERE Name != 'foo'`,
1517+
soqlComposed: `SELECT Id, Name FROM Account WHERE Name != 'foo'`,
1518+
output: {
1519+
fields: [
1520+
{
1521+
text: 'Id',
1522+
},
1523+
{
1524+
text: 'Name',
1525+
},
1526+
],
1527+
subqueries: [],
1528+
sObject: 'Account',
1529+
where: {
1530+
left: {
1531+
field: 'Name',
1532+
operator: '!=',
1533+
value: "'foo'",
1534+
},
1535+
},
1536+
},
1537+
},
15141538
];
15151539
export default testCases;

0 commit comments

Comments
 (0)