| Index: sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_responds_with_id_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/asset_id_to_urls_responds_with_id_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_responds_with_id_test.dart
|
| similarity index 79%
|
| rename from sdk/lib/_internal/pub/test/serve/web_socket/asset_id_to_urls_responds_with_id_test.dart
|
| rename to sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_responds_with_id_test.dart
|
| index aaba194bc8e7ab85fbf3e96f52937e16696ba5ff..f7db59e00d27315eea5a51e73d69a75d524c1b18 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/web_socket/asset_id_to_urls_responds_with_id_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_responds_with_id_test.dart
|
| @@ -4,14 +4,16 @@
|
|
|
| library pub_tests;
|
|
|
| +import 'package:path/path.dart' as p;
|
| import 'package:scheduled_test/scheduled_test.dart';
|
| +
|
| import '../../descriptor.dart' as d;
|
| import '../../test_pub.dart';
|
| import '../utils.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration("assetIdToUrls includes id in response if given", () {
|
| + integration("pathToUrls includes id in response if given", () {
|
| d.dir(appPath, [
|
| d.appPubspec(),
|
| d.dir("web", [
|
| @@ -22,9 +24,9 @@ main() {
|
| pubServe();
|
|
|
| expectWebSocketCall({
|
| - "command": "assetIdToUrls",
|
| + "command": "pathToUrls",
|
| "id": "some id",
|
| - "path": "web/index.html"
|
| + "path": p.join("web", "index.html")
|
| }, replyMatches: containsPair("id", "some id"));
|
|
|
| endPubServe();
|
|
|