@@ -411,24 +411,22 @@ void main() {
411
411
return resultAB;
412
412
}
413
413
414
- test ('prioritizes the user with more recent activity in the topic' , () async {
414
+ test ('favor user most recent in topic' , () async {
415
415
await prepare (messages: [message (userA, topic1), message (userB, topic1)]);
416
416
check (compareAB (topic: topic1)).isGreaterThan (0 );
417
417
});
418
418
419
- test ('no activity in topic -> prioritizes the user with more recent '
420
- 'activity in the stream' , () async {
419
+ test ('no activity in topic -> favor user most recent in stream' , () async {
421
420
await prepare (messages: [message (userA, topic1), message (userB, topic1)]);
422
421
check (compareAB (topic: topic2)).isGreaterThan (0 );
423
422
});
424
423
425
- test ('no topic provided -> prioritizes the user with more recent '
426
- 'activity in the stream' , () async {
424
+ test ('no topic provided -> favor user most recent in stream' , () async {
427
425
await prepare (messages: [message (userA, topic1), message (userB, topic2)]);
428
426
check (compareAB (topic: null )).isGreaterThan (0 );
429
427
});
430
428
431
- test ('no activity in topic/stream -> prioritizes none' , () async {
429
+ test ('no activity in topic/stream -> favor none' , () async {
432
430
await prepare (messages: []);
433
431
check (compareAB (topic: null )).equals (0 );
434
432
});
0 commit comments