[dds] Update expected DevTools title in path strategy test
DevTools recently updated their index.html to include "The Flutter Authors" in the copyright header instead of "Dart DevTools" in the body. This updates the test expectation to match. Fixes https://github.com/dart-lang/sdk/issues/63375 TEST=pkg/dds/test/devtools_server/devtools_server_path_strategy_test.dart Fixed: 63375 Change-Id: I83b8fc4101501ffbbf1e3a84ca797c7b18c0d9b7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/503820 Auto-Submit: Ben Konyi <bkonyi@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
7b4ca03c82
commit
0aa709e8cc
@@ -48,7 +48,7 @@ void main() {
|
||||
final resp = await req.close();
|
||||
expect(resp.statusCode, 200);
|
||||
final bodyContent = await resp.transform(utf8.decoder).join();
|
||||
expect(bodyContent, contains('Dart DevTools'));
|
||||
expect(bodyContent, contains('The Flutter Authors'));
|
||||
}, timeout: const Timeout.factor(10));
|
||||
|
||||
test('serves 404 for requests that are not pages', () async {
|
||||
|
||||
Reference in New Issue
Block a user