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

Unified Diff: utils/tests/pub/descriptor/tar.dart

Issue 14253005: Migrate pub away from throwing strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes 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
« no previous file with comments | « utils/tests/pub/command_line_config.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/descriptor/tar.dart
diff --git a/utils/tests/pub/descriptor/tar.dart b/utils/tests/pub/descriptor/tar.dart
index 453793dd4a80e5118f6d0595a767c5fb4d5a416c..c4f1d8fcafc0e12a103552bc65016f17c30c3b60 100644
--- a/utils/tests/pub/descriptor/tar.dart
+++ b/utils/tests/pub/descriptor/tar.dart
@@ -42,7 +42,7 @@ class TarFileDescriptor extends DirectoryDescriptor {
/// Validates that the `.tar.gz` file at [path] contains the expected
/// contents.
Future validate([String parent]) {
- throw "TODO(nweiz): implement this";
+ throw new UnimplementedError("TODO(nweiz): implement this");
}
Stream<List<int>> read() {
« no previous file with comments | « utils/tests/pub/command_line_config.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698