Query tests: Use query string in name for assertions
This was accidentally changed in I21c43496 to repeat the actual list rather than the query that generated it. Change-Id: I2e37451e5f4645bd00ab14f78f9a8748764ce2f4
This commit is contained in:
@@ -1219,7 +1219,7 @@ public abstract class AbstractQueryChangesTest {
|
|||||||
throws Exception {
|
throws Exception {
|
||||||
List<ChangeInfo> result = query.get();
|
List<ChangeInfo> result = query.get();
|
||||||
Iterable<Integer> ids = ids(result);
|
Iterable<Integer> ids = ids(result);
|
||||||
assertThat(ids).named(ids.toString())
|
assertThat(ids).named(query.getQuery())
|
||||||
.containsExactlyElementsIn(ids(changes)).inOrder();
|
.containsExactlyElementsIn(ids(changes)).inOrder();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user