| Index: test/serve/web_socket/url_to_asset_id_test.dart
|
| diff --git a/test/serve/web_socket/url_to_asset_id_test.dart b/test/serve/web_socket/url_to_asset_id_test.dart
|
| index f268c50b81414b88e3315a6fa9b4f7cdf84306e7..de49150baf2cd8e0e849e5503fd30545c5b60168 100644
|
| --- a/test/serve/web_socket/url_to_asset_id_test.dart
|
| +++ b/test/serve/web_socket/url_to_asset_id_test.dart
|
| @@ -39,10 +39,12 @@ main() {
|
| ])
|
| ])
|
| ]).create();
|
| +
|
| + pubGet();
|
| });
|
|
|
| integration("converts URLs to matching asset ids in web/", () {
|
| - pubServe(shouldGetFirst: true);
|
| + pubServe();
|
| expectWebSocketResult("urlToAssetId", {
|
| "url": getServerUrl("web", "index.html")
|
| }, {"package": "myapp", "path": "web/index.html"});
|
| @@ -51,7 +53,7 @@ main() {
|
|
|
| integration("converts URLs to matching asset ids in subdirectories of web/",
|
| () {
|
| - pubServe(shouldGetFirst: true);
|
| + pubServe();
|
| expectWebSocketResult("urlToAssetId", {
|
| "url": getServerUrl("web", "sub/bar.html")
|
| }, {"package": "myapp", "path": "web/sub/bar.html"});
|
| @@ -59,7 +61,7 @@ main() {
|
| });
|
|
|
| integration("converts URLs to matching asset ids in test/", () {
|
| - pubServe(shouldGetFirst: true);
|
| + pubServe();
|
| expectWebSocketResult("urlToAssetId", {
|
| "url": getServerUrl("test", "index.html")
|
| }, {"package": "myapp", "path": "test/index.html"});
|
| @@ -68,7 +70,7 @@ main() {
|
|
|
| integration("converts URLs to matching asset ids in subdirectories of test/",
|
| () {
|
| - pubServe(shouldGetFirst: true);
|
| + pubServe();
|
| expectWebSocketResult("urlToAssetId", {
|
| "url": getServerUrl("test", "sub/bar.html")
|
| }, {"package": "myapp", "path": "test/sub/bar.html"});
|
| @@ -78,7 +80,7 @@ main() {
|
| integration("converts URLs to matching asset ids in the entrypoint's lib/",
|
| () {
|
| // Path in root package's lib/.
|
| - pubServe(shouldGetFirst: true);
|
| + pubServe();
|
| expectWebSocketResult("urlToAssetId", {
|
| "url": getServerUrl("web", "packages/myapp/myapp.dart")
|
| }, {"package": "myapp", "path": "lib/myapp.dart"});
|
| @@ -87,7 +89,7 @@ main() {
|
|
|
| integration("converts URLs to matching asset ids in a dependency's lib/", () {
|
| // Path in lib/.
|
| - pubServe(shouldGetFirst: true);
|
| + pubServe();
|
| expectWebSocketResult("urlToAssetId", {
|
| "url": getServerUrl("web", "packages/foo/foo.dart")
|
| }, {"package": "foo", "path": "lib/foo.dart"});
|
|
|