Skip to content

Commit 16f0cbe

Browse files
committed
Revert "Merge pull request dart-archive/json_rpc_2#9 from srawlins/remove-unused-imports"
This reverts commit e0459c8, reversing changes made to 26f649e. This commit seemed to cause the bots to go red under mysterious circumstances. Reverting to determine why.
1 parent e0459c8 commit 16f0cbe

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

pkgs/json_rpc_2/test/client/client_test.dart

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

55
import 'dart:async';
6+
import 'dart:convert';
67

78
import 'package:test/test.dart';
89
import 'package:json_rpc_2/error_code.dart' as error_code;

pkgs/json_rpc_2/test/client/utils.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ 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;
1213

1314
/// A controller used to test a [json_rpc.Client].
1415
class ClientController {

pkgs/json_rpc_2/test/server/batch_test.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
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+
57
import 'package:test/test.dart';
68
import 'package:json_rpc_2/error_code.dart' as error_code;
9+
import 'package:json_rpc_2/json_rpc_2.dart' as json_rpc;
710

811
import 'utils.dart';
912

@@ -86,4 +89,4 @@ void main() {
8689
}
8790
}])));
8891
});
89-
}
92+
}

pkgs/json_rpc_2/test/server/invalid_request_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
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+
57
import 'package:test/test.dart';
68
import 'package:json_rpc_2/error_code.dart' as error_code;
9+
import 'package:json_rpc_2/json_rpc_2.dart' as json_rpc;
710

811
import 'utils.dart';
912

0 commit comments

Comments
 (0)