Skip to content

Commit c953043

Browse files
authored
Use type argument for Future of nullable value in test (#681)
1 parent df48e34 commit c953043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source_gen/test/output_helpers_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void _testSimpleValue(String testName, Object? value, Object? expected) {
6666

6767
assert(value is! Future);
6868

69-
_testFunction('Future<$testName>', Future.value(value), expected);
69+
_testFunction('Future<$testName>', Future<Object?>.value(value), expected);
7070

7171
if (value is Iterable) {
7272
_testFunction(

0 commit comments

Comments
 (0)