| Index: sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/asset_id_to_urls_with_line_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart
|
| similarity index 80%
|
| rename from sdk/lib/_internal/pub/test/serve/web_socket/asset_id_to_urls_with_line_test.dart
|
| rename to sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart
|
| index 12bc06f3a223be9a86d55993e13058c8e7fc025f..4bc8307a2f6772dafdaccb36d2edee23f80ad817 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/web_socket/asset_id_to_urls_with_line_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_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 provides output line if given source", () {
|
| + integration("pathToUrls provides output line if given source", () {
|
| d.dir(appPath, [
|
| d.appPubspec(),
|
| d.dir("web", [
|
| @@ -23,8 +25,8 @@ main() {
|
|
|
| schedule(() {
|
| expectWebSocketCall({
|
| - "command": "assetIdToUrls",
|
| - "path": "web/main.dart",
|
| + "command": "pathToUrls",
|
| + "path": p.join("web", "main.dart"),
|
| "line": 12345
|
| }, replyEquals: {
|
| "urls": [getServerUrl("web", "main.dart")],
|
|
|