Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: sdk/lib/_internal/pub_generated/test/serve/web_socket/path_to_urls_with_line_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub_generated/test/serve/web_socket/path_to_urls_with_line_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart b/sdk/lib/_internal/pub_generated/test/serve/web_socket/path_to_urls_with_line_test.dart
similarity index 57%
copy from sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart
copy to sdk/lib/_internal/pub_generated/test/serve/web_socket/path_to_urls_with_line_test.dart
index 340e932b0378c404b15a9d0d4aca5ff711e05bf5..019b26388bf526af987cbf3e23ac4bf26d14b204 100644
--- a/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/serve/web_socket/path_to_urls_with_line_test.dart
@@ -1,27 +1,15 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS d.file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
library pub_tests;
-
import 'package:path/path.dart' as p;
-
import '../../descriptor.dart' as d;
import '../../test_pub.dart';
import '../utils.dart';
-
main() {
initConfig();
integration("pathToUrls provides output line if given source", () {
- d.dir(appPath, [
- d.appPubspec(),
- d.dir("web", [
- d.file("main.dart", "main"),
- ])
- ]).create();
-
+ d.dir(
+ appPath,
+ [d.appPubspec(), d.dir("web", [d.file("main.dart", "main")])]).create();
pubServe();
-
expectWebSocketResult("pathToUrls", {
"path": p.join("web", "main.dart"),
"line": 12345
@@ -29,7 +17,6 @@ main() {
"urls": [getServerUrl("web", "main.dart")],
"line": 12345
});
-
endPubServe();
});
}

Powered by Google App Engine
This is Rietveld 408576698