Skip to content

Commit

Permalink
Fix SoqlInfoTest failure caused by exception text change
Browse files Browse the repository at this point in the history
Fix SoqlInfoTest failure caused by exception text change
  • Loading branch information
ashitsalesforce committed Jan 14, 2025
1 parent bee7321 commit 9afa3f0
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 9afa3f0

Please sign in to comment.