Skip to content

Commit

Permalink
Merge pull request #1450 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
Fix SoqlInfoTest failure caused by exception text change
  • Loading branch information
ashitsalesforce authored Jan 14, 2025
2 parents e9ca97f + 9afa3f0 commit 7aa3e04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public void testNoFields() throws SOQLParserException {
try {
new SOQLInfo("select from account where id = ''");
Assert.fail("should not be able to parse query");
} catch (IllegalArgumentException e) {
assertEquals("Cannot parse empty string", e.getMessage());
} catch (Exception e) {
assertEquals("Invalid soql: No sobject specified after 'FROM' keyword", e.getMessage());
}
}

Expand Down

0 comments on commit 7aa3e04

Please sign in to comment.