Skip to content

Commit

Permalink
Test modification to verify exception was thrown.
Browse files Browse the repository at this point in the history
  • Loading branch information
lbooker42 committed Jan 22, 2024
1 parent f7f5d86 commit 0322b27
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ public void testFilterErrorInitial() {

try {
final QueryTable whereResult = (QueryTable) table.where("y.length() > 0");
Assert.statementNeverExecuted("Expected exception not thrown.");
} catch (Exception e) {
Assert.eqTrue(e instanceof FormulaEvaluationException
&& e.getCause() != null && e.getCause() instanceof NullPointerException,
Expand Down

0 comments on commit 0322b27

Please sign in to comment.