Skip to content

Commit af10aea

Browse files
committed
user [nfc]: Refer to "user store" rather than "store.users" in text
At the end of this series, there won't be a `users` member on the store, so this code-like reference will no longer make sense. The underlying meaning in each of these contexts will still be apt, though: the data structure where the known users are tracked. So update them to make that reference more generically.
1 parent d5caa78 commit af10aea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/model/autocomplete_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ void main() {
369369
}
370370
});
371371

372-
test('MentionAutocompleteView mutating store.users while in progress does not '
372+
test('MentionAutocompleteView mutating user store while in progress does not '
373373
'prevent query from finishing', () async {
374374
const narrow = ChannelNarrow(1);
375375
final store = eg.store();

test/widgets/recent_dm_conversations_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void main() {
215215
checkTitle(tester, user.fullName);
216216
});
217217

218-
testWidgets('no error when user somehow missing from store.users', (tester) async {
218+
testWidgets('no error when user somehow missing from user store', (tester) async {
219219
final user = eg.user(userId: 1);
220220
final message = eg.dmMessage(from: eg.selfUser, to: [user]);
221221
await setupPage(tester,
@@ -271,7 +271,7 @@ void main() {
271271
checkTitle(tester, '${user0.fullName}, ${user1.fullName}');
272272
});
273273

274-
testWidgets('no error when one user somehow missing from store.users', (tester) async {
274+
testWidgets('no error when one user somehow missing from user store', (tester) async {
275275
final users = usersList(2);
276276
final user0 = users[0];
277277
final user1 = users[1];

0 commit comments

Comments
 (0)