Skip to content

Commit

Permalink
Fixed failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
avalax committed Dec 16, 2017
1 parent 5dd2e97 commit 4586d94
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 shouldReturnMaxRepsAsTitle() throws Exception {

@Test
public void shouldReturnWeightAsSubtitle() throws Exception {
assertThat(service.subtitle(aSet().build())).isEqualTo("-");
assertThat(service.subtitle(aSet().build())).isEqualTo("0");
assertThat(service.subtitle(aSet().withWeight(42.5).build())).isEqualTo("42.5");
assertThat(service.subtitle(aSet().withWeight(42).build())).isEqualTo("42");
}
Expand Down

0 comments on commit 4586d94

Please sign in to comment.