Skip to content

Commit 59dc475

Browse files
authored
Bump tests involving records to use Dart 3.0.0 (#3420)
1 parent b9c35c0 commit 59dc475

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

test/record_test.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ class RecordTest extends DartdocTestBase {
2222
String get libraryName => 'records';
2323

2424
@override
25-
String get sdkConstraint => '>=2.19.0-0 <4.0.0';
26-
27-
@override
28-
List<String> get experiments => ['records'];
25+
String get sdkConstraint => '>=3.0.0 <4.0.0';
2926

3027
void test_noFields() async {
3128
var library = await bootPackageWithLibrary('''

test/typedef_test.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ class TypedefTest extends DartdocTestBase {
2424
String get libraryName => 'typedefs';
2525

2626
@override
27-
String get sdkConstraint => '>=2.19.0-0 <3.0.0';
28-
29-
@override
30-
List<String> get experiments => ['records'];
27+
String get sdkConstraint => '>=3.0.0 <4.0.0';
3128

3229
void test_basicFunctionTypedef() async {
3330
var library = await bootPackageWithLibrary('''

0 commit comments

Comments
 (0)