Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into dwds2421
Browse files Browse the repository at this point in the history
  • Loading branch information
srujzs committed Dec 23, 2024
2 parents ee7d193 + ca963a0 commit 79a3571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dwds/test/build/min_sdk_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void main() {
sdkVersion = Version(sdkVersion.major, sdkVersion.minor, 0);

final sdkConstraint = VersionConstraint.compatibleWith(sdkVersion);
final pubspecSdkConstraint = pubspec.environment?['sdk'];
final pubspecSdkConstraint = pubspec.environment['sdk'];
expect(pubspecSdkConstraint, isNotNull);
expect(
sdkConstraint.allowsAll(pubspecSdkConstraint!),
Expand Down
2 changes: 1 addition & 1 deletion webdev/test/build/min_sdk_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void main() {
sdkVersion = Version(sdkVersion.major, sdkVersion.minor, 0);

final sdkConstraint = VersionConstraint.compatibleWith(sdkVersion);
final pubspecSdkConstraint = pubspec.environment!['sdk']!;
final pubspecSdkConstraint = pubspec.environment['sdk']!;
expect(sdkConstraint.allowsAll(pubspecSdkConstraint), true,
reason:
'Min sdk constraint is outdated. Please update SDK constraint in '
Expand Down

0 comments on commit 79a3571

Please sign in to comment.