code fixes

This commit is contained in:
Kevin Moore 2024-05-28 14:47:30 -07:00 committed by dependabot[bot]
parent ebb7368fa4
commit 52023d404e
18 changed files with 28 additions and 1 deletions

View File

@ -17,5 +17,4 @@ linter:
- prefer_final_locals
- prefer_single_quotes
- test_types_in_equals
- use_super_parameters
- prefer_relative_imports

View File

@ -16,6 +16,8 @@
// TODO(dartbug.com/26057) currently Mac OS X seems to have some issues with
// client certificates so we disable the test.
@TestOn('vm && !mac-os')
library;
import 'dart:async';
import 'dart:io';

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';
import 'package:grpc/grpc.dart' as grpc;

View File

@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('browser')
library;
import 'dart:async';
import 'dart:html';

View File

@ -13,6 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('!browser')
library;
import 'package:grpc/grpc.dart';
import 'package:grpc/grpc_or_grpcweb.dart';
import 'package:test/test.dart';

View File

@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('browser')
library;
import 'package:grpc/grpc_or_grpcweb.dart';
import 'package:grpc/grpc_web.dart';

View File

@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';

View File

@ -14,6 +14,7 @@
// limitations under the License.
@TestOn('vm')
library;
import 'package:grpc/src/shared/codec.dart';
import 'package:grpc/src/shared/message.dart';

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('browser')
library;
import 'dart:async';
import 'dart:math' as math;

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';
import 'package:grpc/grpc.dart';

View File

@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('vm')
library;
import 'dart:io';

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';
import 'dart:io';

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';
import 'package:grpc/grpc.dart';

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';
import 'dart:io';

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('vm')
library;
import 'package:grpc/grpc.dart';
import 'package:test/test.dart';

View File

@ -14,6 +14,8 @@
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';
import 'dart:io';
import 'dart:isolate';

View File

@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('vm')
library;
import 'dart:async';

View File

@ -16,6 +16,8 @@
@TestOn('vm')
@Skip(
'Run only as `dart run --enable-vm-service --timeline-streams=Dart test/timeline_test.dart`')
library;
import 'dart:async';
import 'dart:developer' as dev;