Fix typos in documentations.

Fix typos in READMEs, javadoc, comments and code.

Original pull request #642
This commit is contained in:
Marc Wrobel
2022-07-18 16:43:44 +02:00
committed by Jens Schauder
parent 1aec184ff0
commit ce994f9ea0
57 changed files with 83 additions and 83 deletions

View File

@@ -82,7 +82,7 @@ class ReactiveStreamApiTests {
.as(StepVerifier::create)
.expectNext(2L).verifyComplete();
// XADD errors when timestamp is less then last inserted
// XADD errors when timestamp is less than the last inserted
streamOps.add(SensorData.create("1234", "19.8", "invalid").withId(RecordId.of("0-0")))
.as(StepVerifier::create)
.verifyError(RedisSystemException.class);

View File

@@ -72,7 +72,7 @@ class SyncStreamApiTests {
// XLEN
assertThat(streamOps.size(SensorData.KEY)).isEqualTo(2L);
// XADD errors when timestamp is less then last inserted
// XADD errors when timestamp is less than the last inserted
assertThatExceptionOfType(RedisSystemException.class).isThrownBy(() -> {
streamOps.add(SensorData.create("1234", "19.8", "invalid").withId(RecordId.of("0-0")));
}).withMessageContaining("ID specified");