Skip to content

Commit

Permalink
Fixed tests that still counted 1 as a prime.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten-papenbrock committed Oct 28, 2019
1 parent bfe21b6 commit 914dba5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void shouldFindCorrectPrimes() {
worker.tell(new Worker.ValidationMessage(0, 1, 10), this.getRef());

// Expect the correct response.
Master.PrimesMessage expectedMsg = new Master.PrimesMessage(0, Arrays.asList(1L, 2L, 3L, 5L, 7L), true);
Master.PrimesMessage expectedMsg = new Master.PrimesMessage(0, Arrays.asList(2L, 3L, 5L, 7L), true);
this.expectMsg(Duration.create(3, "secs"), expectedMsg);
}};
}
Expand Down

0 comments on commit 914dba5

Please # to comment.