Skip to content

Commit

Permalink
Fix ScoredValueUnitTests
Browse files Browse the repository at this point in the history
  • Loading branch information
dengliming committed Mar 6, 2021
1 parent 5698df7 commit e4817b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/lettuce/core/ScoredValueUnitTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ void toStringShouldRenderCorrectly() {
Value<String> empty = ScoredValue.fromNullable(34, null);

assertThat(value.toString()).contains("ScoredValue[12").contains("340000, hello]");
assertThat(empty.toString()).contains("ScoredValue[0,000000].empty");
assertThat(empty.toString()).contains(String.format("ScoredValue[%f].empty", 0d));
}
}

0 comments on commit e4817b9

Please sign in to comment.