Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #139 from dart-lang/remove_nnbd_exclusion
Browse files Browse the repository at this point in the history
remove a nnbd file exclusion
  • Loading branch information
devoncarew authored Jun 13, 2022
2 parents 44fcece + 8829051 commit a5276b8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions 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 a5276b8

Please sign in to comment.