Index: utils/tests/pub/test_pub.dart |
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart |
index ba049989aec8d9dbdde93eb1570473688ced64a9..d7fdb1df41008667b6c52025cb2b55cfba6f6edb 100644 |
--- a/utils/tests/pub/test_pub.dart |
+++ b/utils/tests/pub/test_pub.dart |
@@ -471,7 +471,7 @@ Future<Map> dependencyListToMap(List<Map> dependencies) { |
source = new PathSource(); |
break; |
default: |
- throw 'Unknown source "$sourceName"'; |
+ throw new Exception('Unknown source "$sourceName"'); |
} |
result[_packageName(sourceName, dependency[sourceName])] = dependency; |