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

Unified Diff: test/common_e2e.dart

Issue 2731933004: Remove FilterRelation.In / "property IN" queries, upgrade googleapis{,_beta} dependencies (Closed)
Patch Set: add pubspec.yaml update Created 3 years, 9 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 | « pubspec.yaml ('k') | test/datastore/e2e/datastore_test_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/common_e2e.dart
diff --git a/test/common_e2e.dart b/test/common_e2e.dart
index aa75dae5c0f5c762d47dc15c920156dc3e0fa812..bbc56f18e849512047e07c5eaf284a4508e418aa 100644
--- a/test/common_e2e.dart
+++ b/test/common_e2e.dart
@@ -51,7 +51,7 @@ bool onBot() {
// Get the service key from the specified location.
Future<String> serviceKeyJson(String serviceKeyLocation) {
if (!serviceKeyLocation.startsWith('gs://')) {
- throw new Exception('Service key location must start with gs://');
+ return new File(serviceKeyLocation).readAsString();
}
var future;
if (onBot()) {
« no previous file with comments | « pubspec.yaml ('k') | test/datastore/e2e/datastore_test_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698