Skip to content

Commit

Permalink
Merge pull request dart-archive/json_rpc_2#9 from srawlins/remove-unu…
Browse files Browse the repository at this point in the history
…sed-imports

Remove unused imports in the test files
  • Loading branch information
nex3 committed Mar 10, 2016
2 parents 26f649e + 6a37fb0 commit e0459c8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion pkgs/json_rpc_2/test/client/client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
import 'dart:convert';

import 'package:test/test.dart';
import 'package:json_rpc_2/error_code.dart' as error_code;
Expand Down
1 change: 0 additions & 1 deletion pkgs/json_rpc_2/test/client/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:stream_channel/stream_channel.dart';
import 'package:test/test.dart';

import 'package:json_rpc_2/json_rpc_2.dart' as json_rpc;
import 'package:json_rpc_2/error_code.dart' as error_code;

/// A controller used to test a [json_rpc.Client].
class ClientController {
Expand Down
5 changes: 1 addition & 4 deletions pkgs/json_rpc_2/test/server/batch_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
// 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.

import 'dart:convert';

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

import 'utils.dart';

Expand Down Expand Up @@ -89,4 +86,4 @@ void main() {
}
}])));
});
}
}
3 changes: 0 additions & 3 deletions pkgs/json_rpc_2/test/server/invalid_request_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
// 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.

import 'dart:convert';

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

import 'utils.dart';

Expand Down

0 comments on commit e0459c8

Please sign in to comment.