Fix line-length problems
This commit is contained in:
parent
8562653926
commit
facafd201a
2 changed files with 10 additions and 2 deletions
|
@ -50,7 +50,12 @@ module Corpus
|
|||
checkout
|
||||
start = Time.now
|
||||
paths = Pathname.glob(repo_path.join('**/*.rb')).sort_by(&:size).reverse
|
||||
total = Parallel.map(paths, finish: method(:finish), start: method(:start), in_processes: parallel_processes) do |path|
|
||||
options = {
|
||||
finish: method(:finish),
|
||||
start: method(:start),
|
||||
in_processes: parallel_processes
|
||||
}
|
||||
total = Parallel.map(paths, options) do |path|
|
||||
count = 0
|
||||
node =
|
||||
begin
|
||||
|
|
|
@ -28,7 +28,10 @@ RSpec.describe Mutant::Expression do
|
|||
let(:input) { 'test-syntax' }
|
||||
|
||||
it 'raises an exception' do
|
||||
expect { subject }.to raise_error(Mutant::Expression::AmbiguousExpressionError, 'Ambiguous expression: "test-syntax"')
|
||||
expect { subject }.to raise_error(
|
||||
Mutant::Expression::AmbiguousExpressionError,
|
||||
'Ambiguous expression: "test-syntax"'
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue