Skip to content

Commit

Permalink
Adapt AbstractBasicScriptingTest for native repo
Browse files Browse the repository at this point in the history
(This should fix failing tests.)
  • Loading branch information
mederly committed Aug 25, 2023
1 parent 135f41c commit 6a46ced
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,9 @@ public void test365AssignToJackDryAndRaw() throws Exception {
try {
evaluateExpression(expression, task, result);
fail("unexpected success");
} catch (UnsupportedOperationException e) {
} catch (UnsupportedOperationException | SystemException e) {
// Old repo throws UnsupportedOperationException, new repo throws SystemException
// (not a problem, for now)
displayExpectedException(e);
assertThat(e).hasMessageContaining("previewChanges is not supported in raw mode");
}
Expand Down

0 comments on commit 6a46ced

Please sign in to comment.