mirror of https://github.com/AMT-Cheif/drift.git
Use latest language version in test
This commit is contained in:
parent
f297fa4768
commit
d553a7f679
|
@ -409,10 +409,7 @@ class _GeneratesConstDataClasses extends Matcher {
|
|||
|
||||
final parsed = parseFile(
|
||||
path: '/foo.dart',
|
||||
featureSet: FeatureSet.fromEnableFlags2(
|
||||
sdkLanguageVersion: Version(2, 12, 0),
|
||||
flags: const [],
|
||||
),
|
||||
featureSet: FeatureSet.latestLanguageVersion(),
|
||||
resourceProvider: resourceProvider,
|
||||
throwIfDiagnostics: true,
|
||||
).unit;
|
||||
|
|
Loading…
Reference in New Issue