Skip to content

Commit

Permalink
Minor test improvement to android module
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Nov 10, 2023
1 parent ef85387 commit 1b501f2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ public int id() {
public String name() {
return name;
}

@Override
public boolean equals(Object o) {
// Need not be robust, so:
RecordWithRename other = (RecordWithRename) o;
return Objects.equals(this.id, other.id)
&& Objects.equals(this.name, other.name);
}
}

static final class RecordWithHeaderInject extends RecordTag {
Expand Down

0 comments on commit 1b501f2

Please sign in to comment.