Skip to content

Commit

Permalink
update test expectations (#3077)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Oct 18, 2024
1 parent 10bd71a commit 36a02f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/dart_services/test/server_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ void main() {
offset: 21,
));

expect(result.fixes, hasLength(3));
// Dart 3.5 returns 3 fixes; Dart 3.6 returns 4.
expect(result.fixes, anyOf(hasLength(3), hasLength(4)));

final fix = result.fixes
.firstWhereOrNull((fix) => fix.message.contains('Ignore'));
Expand Down

0 comments on commit 36a02f4

Please sign in to comment.