mirror of https://github.com/apache/lucene.git
SOLR-8677: Fix assert statement
This commit is contained in:
parent
c7c5b8fe49
commit
eb0e270043
|
@ -63,7 +63,7 @@ public class TestCollectionAdminRequest extends LuceneTestCase {
|
|||
fail();
|
||||
} catch (IllegalArgumentException e) {
|
||||
final String exceptionMessage = e.getMessage();
|
||||
assertTrue(exceptionMessage.contains("Invalid collection"));
|
||||
assertTrue(exceptionMessage.contains("Invalid alias"));
|
||||
assertTrue(exceptionMessage.contains("invalid$alias@name"));
|
||||
assertTrue(exceptionMessage.contains("must consist entirely of periods, underscores, and alphanumerics"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue