diff --git a/lib/mode.coffee b/lib/mode.coffee index ef8df9a..e59bc76 100644 --- a/lib/mode.coffee +++ b/lib/mode.coffee @@ -175,7 +175,7 @@ buildCargoArguments = (linter, cargoManifestPath) -> cargoArgs = switch linter.cargoCommand when 'check' then ['check'] - when 'check all' then ['check', '--all'] + when 'check all' then ['check', '--all', '--tests'] when 'test' then ['test', '--no-run'] when 'rustc' then ['rustc', '--color', 'never'] when 'clippy' then ['clippy']