Skip to content

Commit 91de656

Browse files
kallentuCommit Queue
authored andcommitted
[tests] Fix nullable test for dot shorthands.
Fixing a couple typos keeping this test from passing. Bug: #59758 Change-Id: I5fd8345538ee4516db4565c910dcb75b93c4cda1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414185 Commit-Queue: Kallen Tu <[email protected]> Reviewed-by: Bob Nystrom <[email protected]>
1 parent e036578 commit 91de656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/language/dot_shorthands/simple/simple_identifier_nullable_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void main() {
4242
// Mixin
4343
IntegerMixin? integerMixin = .mixinOne;
4444
const IntegerMixin? constIntegerMixin = .mixinConstOne;
45-
var integerMixinList = <IntegerMixin?>[.one, .two, .one];
45+
var integerMixinList = <IntegerMixin?>[.mixinOne, .mixinTwo, .mixinOne];
4646

4747
// Null assertion on a nullable static member.
4848
NullableInteger? nullableInteger = .one;

0 commit comments

Comments
 (0)