Skip to content

Commit 4495100

Browse files
committed
message test [nfc]: Reword comment on pre-407 selfCanDeleteMessage tests
The "role:nobody" group is the default value for both of these group settings (see defaultGroupName in upcoming commits), so it's helpful to be explicit here.
1 parent 35f4dda commit 4495100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/model/message_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,8 +1078,8 @@ void main() {
10781078
group('legacy behavior', () {
10791079
group('pre-407', () {
10801080
// The channel-level group permissions don't exist,
1081-
// so we act as though they were present and denied,
1082-
// notably by not throwing.
1081+
// so we act as though they were present with role:nobody,
1082+
// and we don't throw.
10831083

10841084
test('denial is not forced just because one of the permissions is absent (the any-message one)', () async {
10851085
check(await evaluate(

0 commit comments

Comments
 (0)