Skip to content

Commit

Permalink
Fixed string format error in lab4 part1 tests (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyStew committed Apr 21, 2023
1 parent 7c09522 commit e708af3
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -262,13 +262,13 @@ public void test04ShardsMoveOnMove() throws InterruptedException {
if (e.getValue().isEmpty() &&
group2Clients.contains(a)) {
return new ImmutablePair<>(false, String.format(
"%s is a client of group 2 but could not complete operation"));
"%s is a client of group 2 but could not complete operation", a));
}

if (!e.getValue().isEmpty() &&
group1Clients.contains(a)) {
return new ImmutablePair<>(false, String.format(
"%s is a client of group 1 but could complete operation"));
"%s is a client of group 1 but could complete operation", a));
}
}
return TRUE_NO_MESSAGE;
Expand Down

0 comments on commit e708af3

Please sign in to comment.