Skip to content

Commit

Permalink
Ryan's feedback rnd3
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauernfeind committed Jan 10, 2024
1 parent e820fdd commit f11bed1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public InstrumentedTableUpdateSource(
final BaseTable<?> table,
final String description) {
super(updateSourceRegistrar, description);
// verify that the updateSourceRegistrar's update graph is the same as the table's update graph (if applicable)
updateSourceRegistrar.getUpdateGraph(table);
tableReference = new WeakReference<>(table);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public <T> T allowingError(Supplier<T> function, Predicate<List<Throwable>> erro
} finally {
setExpectError(original);
}
if (errors == null && !errorsAcceptable.test(errors)) {
if (errors != null && !errorsAcceptable.test(errors)) {
TestCase.fail("Unacceptable errors: " + errors);
}
return retval;
Expand Down

0 comments on commit f11bed1

Please sign in to comment.