SOLR-8677: Fix assert statement

This commit is contained in:
anshum 2016-02-18 18:43:56 -08:00
parent c7c5b8fe49
commit eb0e270043
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}