diff --git a/lib/src/runner.dart b/lib/src/runner.dart
index 0c83aaf51fd1dc3a4bbe4c38ab90c10c0527528f..0b63e5ceae6f26d9c3c9c6ec910b5dedcf65e10e 100644
--- a/lib/src/runner.dart
+++ b/lib/src/runner.dart
@@ -25,7 +25,6 @@ import 'runner/loader.dart';
 import 'runner/reporter.dart';
 import 'runner/reporter/compact.dart';
 import 'runner/reporter/expanded.dart';
-import 'runner/reporter/json.dart';
 import 'util/io.dart';
 import 'utils.dart';
 
diff --git a/lib/src/runner/browser/chrome.dart b/lib/src/runner/browser/chrome.dart
index 73cd554d2c9deef7e19e3b3fccff6621220438c3..7c984f17fdf55737b7a3b6a2b6a87d6f2d7a53e7 100644
--- a/lib/src/runner/browser/chrome.dart
+++ b/lib/src/runner/browser/chrome.dart
@@ -8,7 +8,6 @@ import 'dart:io';
 import 'package:path/path.dart' as p;
 
 import '../../util/io.dart';
-import '../../utils.dart';
 import 'browser.dart';
 
 // TODO(nweiz): move this into its own package?
diff --git a/lib/test.dart b/lib/test.dart
index 8663a6ceda1cde02ec218f1c85273300a0c10746..08c164b6f52231b77338f1e3da5218a6aa08f62b 100644
--- a/lib/test.dart
+++ b/lib/test.dart
@@ -139,7 +139,7 @@ void test(description, body(),
   // `main()` in JS stack traces in order to properly determine the line and
   // column where the test was defined. See sdk#26705.
   return;
-  return;
+  return; // ignore: dead_code
 }
 
 /// Creates a group of tests.
@@ -202,7 +202,7 @@ void group(description, body(),
   // `main()` in JS stack traces in order to properly determine the line and
   // column where the test was defined. See sdk#26705.
   return;
-  return;
+  return; // ignore: dead_code
 }
 
 /// Registers a function to be run before tests.
diff --git a/test/frontend/expect_test.dart b/test/frontend/expect_test.dart
index f814616d8622889e1eeda8f559571db6265a338e..fdc32e14253c32e65115ac98c09b79d823161187 100644
--- a/test/frontend/expect_test.dart
+++ b/test/frontend/expect_test.dart
@@ -4,7 +4,6 @@
 
 import 'dart:async';
 
-import 'package:test/src/backend/state.dart';
 import 'package:test/test.dart';
 
 import '../utils.dart';