Update state check error message to include failure hint.

Original Pull Request: #2013
This commit is contained in:
Christoph Strobl
2021-03-24 13:28:49 +01:00
parent 73650cf943
commit 7207305637
2 changed files with 2 additions and 4 deletions

View File

@@ -1011,7 +1011,7 @@ class LettuceConnectionFactoryUnitTests {
LettuceConnectionFactory connectionFactory = new LettuceConnectionFactory();
assertThatIllegalStateException().isThrownBy(connectionFactory::getRequiredNativeClient)
.withMessage("Client not yet initialized");
.withMessageContaining("Client not yet initialized");
}
@Data