Skip to content

Commit 79a3571

Browse files
committed
Merge remote-tracking branch 'upstream/main' into dwds2421
2 parents ee7d193 + ca963a0 commit 79a3571

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dwds/test/build/min_sdk_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void main() {
1919
sdkVersion = Version(sdkVersion.major, sdkVersion.minor, 0);
2020

2121
final sdkConstraint = VersionConstraint.compatibleWith(sdkVersion);
22-
final pubspecSdkConstraint = pubspec.environment?['sdk'];
22+
final pubspecSdkConstraint = pubspec.environment['sdk'];
2323
expect(pubspecSdkConstraint, isNotNull);
2424
expect(
2525
sdkConstraint.allowsAll(pubspecSdkConstraint!),

webdev/test/build/min_sdk_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void main() {
1919
sdkVersion = Version(sdkVersion.major, sdkVersion.minor, 0);
2020

2121
final sdkConstraint = VersionConstraint.compatibleWith(sdkVersion);
22-
final pubspecSdkConstraint = pubspec.environment!['sdk']!;
22+
final pubspecSdkConstraint = pubspec.environment['sdk']!;
2323
expect(sdkConstraint.allowsAll(pubspecSdkConstraint), true,
2424
reason:
2525
'Min sdk constraint is outdated. Please update SDK constraint in '

0 commit comments

Comments
 (0)