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

Unified Diff: sdk/lib/_internal/pub/test/install/path/nonexistent_dir_test.dart

Issue 14662003: Don't show a stack trace on a bad path dependency path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/test/install/path/nonexistent_dir_test.dart
diff --git a/sdk/lib/_internal/pub/test/install/path/nonexistent_dir_test.dart b/sdk/lib/_internal/pub/test/install/path/nonexistent_dir_test.dart
index 7220cb9c151c4725333981c26eaf2d0140737e4f..053c9225ad8922471c05c6991e125a46c1203320 100644
--- a/sdk/lib/_internal/pub/test/install/path/nonexistent_dir_test.dart
+++ b/sdk/lib/_internal/pub/test/install/path/nonexistent_dir_test.dart
@@ -7,7 +7,6 @@ import 'dart:io';
import 'package:pathos/path.dart' as path;
import 'package:scheduled_test/scheduled_test.dart';
-import '../../../lib/src/exit_codes.dart' as exit_codes;
import '../../descriptor.dart' as d;
import '../../test_pub.dart';
@@ -34,6 +33,6 @@ main() {
schedulePub(args: ['install'],
error:
new RegExp("Could not find package 'foo' at '$escapePath'."),
- exitCode: exit_codes.DATA);
+ exitCode: 1);
});
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/path_source.dart ('k') | sdk/lib/_internal/pub/test/install/path/path_is_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698