We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db916a4 commit 44e0114Copy full SHA for 44e0114
app/test/search/dartdoc_index_parsing_test.dart
@@ -39,8 +39,9 @@ void main() {
39
}
40
41
test('parse Dart SDK index.json', () async {
42
+ final channel = runtimeSdkVersion.endsWith('dev') ? 'dev' : 'stable';
43
final file = await getCachedFile('dart-sdk-$runtimeSdkVersion.json',
- 'https://api.dart.dev/stable/$runtimeSdkVersion/index.json');
44
+ 'https://api.dart.dev/$channel/$runtimeSdkVersion/index.json');
45
final textContent = await file.readAsString();
46
final index = DartdocIndex.parseJsonText(await file.readAsString());
47
expect(index.entries, hasLength(greaterThan(10000)));
0 commit comments