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

Unified Diff: utils/tests/pub/pub_install_test.dart

Issue 10981031: Convert raw strings in pub (and apidoc) to new syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 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
« no previous file with comments | « utils/tests/pub/pub_install_sdk_test.dart ('k') | utils/tests/pub/pub_update_git_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/pub_install_test.dart
diff --git a/utils/tests/pub/pub_install_test.dart b/utils/tests/pub/pub_install_test.dart
index 35f408aee2070c20cb0633a7eb1bf3f2f738d0a3..38605a1ab7cb3bfba18089718659fc7c5e591b63 100644
--- a/utils/tests/pub/pub_install_test.dart
+++ b/utils/tests/pub/pub_install_test.dart
@@ -15,7 +15,7 @@ main() {
dir(appPath, []).scheduleCreate();
schedulePub(args: ['install'],
- error: const RegExp(@'^Could not find a file named "pubspec.yaml"'),
+ error: const RegExp(r'^Could not find a file named "pubspec\.yaml"'),
exitCode: 1);
run();
@@ -27,8 +27,8 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- error: const RegExp(@'^pubspec.yaml is missing the required "name" '
- @'field \(e\.g\. "name: myapp"\)\.'),
+ error: const RegExp(r'^pubspec.yaml is missing the required "name" '
+ r'field \(e\.g\. "name: myapp"\)\.'),
exitCode: 1);
run();
@@ -44,7 +44,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(packagesPath, [
dir("myapp_name", [
@@ -63,7 +63,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(packagesPath, [
nothing("myapp_name")
@@ -88,9 +88,9 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- error: const RegExp(@'Warning: Package "foo" does not have a "lib" '
+ error: const RegExp(r'Warning: Package "foo" does not have a "lib" '
'directory.'),
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
run();
});
@@ -106,7 +106,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(packagesPath, [
nothing('foo'),
@@ -125,7 +125,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(appPath, [
dir("test", [
@@ -155,7 +155,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(appPath, [
dir("example", [
@@ -185,7 +185,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(appPath, [
dir("web", [
@@ -215,7 +215,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(appPath, [
dir("bin", [
@@ -245,7 +245,7 @@ main() {
Warning: Package "myapp_name" is using a deprecated layout.
See http://www.dartlang.org/docs/pub-package-manager/package-layout.html for details.
''',
- output: const RegExp(@"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
run();
});
« no previous file with comments | « utils/tests/pub/pub_install_sdk_test.dart ('k') | utils/tests/pub/pub_update_git_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698