Skip to content

Commit 9d82412

Browse files
committed
Re-apply "Merge pull request dart-archive/json_rpc_2#9 from srawlins/remove-unused-imports"
This reverts commit 16f0cbe and re-applies commit e0459c8. It was determined that the build failure was caused by an upgraded SDK version.
1 parent 16f0cbe commit 9d82412

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

pkgs/json_rpc_2/test/client/client_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'dart:async';
6-
import 'dart:convert';
76

87
import 'package:test/test.dart';
98
import 'package:json_rpc_2/error_code.dart' as error_code;

pkgs/json_rpc_2/test/client/utils.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import 'package:stream_channel/stream_channel.dart';
99
import 'package:test/test.dart';
1010

1111
import 'package:json_rpc_2/json_rpc_2.dart' as json_rpc;
12-
import 'package:json_rpc_2/error_code.dart' as error_code;
1312

1413
/// A controller used to test a [json_rpc.Client].
1514
class ClientController {

pkgs/json_rpc_2/test/server/batch_test.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'dart:convert';
6-
75
import 'package:test/test.dart';
86
import 'package:json_rpc_2/error_code.dart' as error_code;
9-
import 'package:json_rpc_2/json_rpc_2.dart' as json_rpc;
107

118
import 'utils.dart';
129

@@ -89,4 +86,4 @@ void main() {
8986
}
9087
}])));
9188
});
92-
}
89+
}

pkgs/json_rpc_2/test/server/invalid_request_test.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'dart:convert';
6-
75
import 'package:test/test.dart';
86
import 'package:json_rpc_2/error_code.dart' as error_code;
9-
import 'package:json_rpc_2/json_rpc_2.dart' as json_rpc;
107

118
import 'utils.dart';
129

0 commit comments

Comments
 (0)