Skip to content

Commit

Permalink
Merge pull request dart-archive/gcloud#139 from dart-lang/remove_nnbd…
Browse files Browse the repository at this point in the history
…_exclusion

remove a nnbd file exclusion
  • Loading branch information
devoncarew authored Jun 13, 2022
2 parents 1a8e76e + c417c8a commit 7b9ba6e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkgs/gcloud/test/db_all_e2e_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.9

@Tags(['e2e'])
@Timeout(Duration(seconds: 120))
Expand All @@ -26,19 +25,18 @@ Future main() async {
var now = DateTime.now().millisecondsSinceEpoch;
var namespace = '${Platform.operatingSystem}$now';

datastore_impl.DatastoreImpl datastore;
db.DatastoreDB datastoreDB;
Client client;
late datastore_impl.DatastoreImpl datastore;
late db.DatastoreDB datastoreDB;
Client? client;

await withAuthClient(scopes, (String project, httpClient) {
await withAuthClient(scopes, (String project, httpClient) async {
datastore = datastore_impl.DatastoreImpl(httpClient, project);
datastoreDB = db.DatastoreDB(datastore);
client = httpClient;
return null;
});

tearDownAll(() async {
client.close();
client?.close();
});

group('datastore_test', () {
Expand Down

0 comments on commit 7b9ba6e

Please sign in to comment.