Group index: Minor cleanups

* Document is:visibletoall in all lower case to be consistent with the
  case of other search operators (internally it's case-insensitive).
* Fix some comments.

Change-Id: Ied4c33a6968499b7f6dd9e74f3c25f48fb6bf401
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2017-01-16 13:49:15 +01:00
parent f7773c4bc0
commit 2086cbbabb
5 changed files with 7 additions and 7 deletions

View File

@@ -247,13 +247,13 @@ public abstract class AbstractQueryGroupsTest extends GerritServerTests {
@Test
public void byIsVisibleToAll() throws Exception {
assertQuery("is:visibleToAll");
assertQuery("is:visibletoall");
GroupInfo groupThatIsVisibleToAll =
createGroupThatIsVisibleToAll(name("group-that-is-visible-to-all"));
createGroup(name("group"));
assertQuery("is:visibleToAll", groupThatIsVisibleToAll);
assertQuery("is:visibletoall", groupThatIsVisibleToAll);
}
@Test