Skip to content

Commit f05afb4

Browse files
Stop relying on language version 2.0 in dartdoc tests. (#3601)
Dart no longer supports language versions prior to 2.12, so dartdoc tests need to use a modern language version. Changing the tests to use a language version of 3.0 helps unblock the removal of legacy (pre-null-safety) support from the Dart analyzer.
1 parent 0a07bc1 commit f05afb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/utils.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ two:lib/
215215
"name": "one",
216216
"rootUri": "../../one",
217217
"packageUri": "lib/",
218-
"languageVersion": "2.0"
218+
"languageVersion": "3.0"
219219
},
220220
{
221221
"name": "two",
222222
"rootUri": "../",
223223
"packageUri": "lib/",
224-
"languageVersion": "2.0"
224+
"languageVersion": "3.0"
225225
}
226226
],
227227
"generated": "2020-07-07T15:25:30.566271Z",

0 commit comments

Comments
 (0)