Skip to content

Commit 465f1dc

Browse files
authored
Fix package_meta test for latest SDK changes (#2136)
* Fix package_meta test for latest SDK changes * Reformat * Fix special_cases_test
1 parent 731f5b2 commit 465f1dc

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ branches:
77
- master
88

99
install:
10-
- ps: wget https://storage.googleapis.com/dart-archive/channels/dev/raw/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
10+
- ps: wget https://storage.googleapis.com/dart-archive/channels/dev/release/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
1111
- cmd: echo "Unzipping dart-sdk..."
1212
- cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul
1313
- cmd: del dart-sdk.zip

test/model_special_cases_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ void main() {
325325

326326
test('sdk description', () {
327327
expect(sdkAsPackageGraph.defaultPackage.documentation,
328-
startsWith('Welcome to the Dart API reference doc'));
328+
startsWith('Welcome'));
329329
});
330330
});
331331

test/package_meta_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ void main() {
111111

112112
test('has a readme', () {
113113
expect(p.getReadmeContents(), isNotNull);
114-
expect(p.getReadmeContents().contents,
115-
startsWith('Welcome to the Dart API reference documentation'));
114+
expect(p.getReadmeContents().contents, startsWith('Welcome'));
116115
});
117116

118117
test('does not have a license', () {

0 commit comments

Comments
 (0)