mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-29 03:54:01 -06:00
fix test method for single value
This commit is contained in:
parent
44aef5ba0c
commit
55d5c45051
@ -69,10 +69,10 @@ public class IntegratedComposerLogicTest {
|
||||
public void testResourceLoader() {
|
||||
Optional<DataMapper<Object>> dataMapper = VirtData.getOptionalMapper(" ModuloLineToString('data/variable_words.txt') -> String");
|
||||
assertThat(dataMapper).isPresent();
|
||||
assertThat(dataMapper.get().get(1)).isEqualToComparingFieldByField("completion_count");
|
||||
assertThat(dataMapper.get().get(1)).isEqualTo("completion_count");
|
||||
dataMapper = VirtData.getOptionalMapper("compose ModuloLineToString('variable_words.txt') -> String");
|
||||
assertThat(dataMapper).isPresent();
|
||||
assertThat(dataMapper.get().get(1)).isEqualToComparingFieldByField("completion_count");
|
||||
assertThat(dataMapper.get().get(1)).isEqualTo("completion_count");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user