mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fix broken test
This commit is contained in:
parent
49207a44f2
commit
feb0fda111
@ -22,8 +22,8 @@ public class NBEnvironmentTest {
|
||||
public void testInterpolationWithTimestamp() {
|
||||
NBEnvironment env = new NBEnvironment();
|
||||
long millis = 1633964892320L;
|
||||
String time1 = env.interpolateWithTimestamp("word WOO %td %% end", millis, Map.of("WOO","WOW")).orElse(null);
|
||||
assertThat(time1).isEqualTo("word WOW 11 % end");
|
||||
String time1 = env.interpolateWithTimestamp("word WOO$WOO %td %% end", millis, Map.of("WOO","WOW")).orElse(null);
|
||||
assertThat(time1).isEqualTo("word WOOWOW 11 % end");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user