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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user