Fix code style
This commit is contained in:
parent
a8e8ba7359
commit
cb814cd529
4 changed files with 9 additions and 5 deletions
|
@ -16,5 +16,3 @@ module RbBug
|
|||
end
|
||||
|
||||
end # RbBug
|
||||
|
||||
|
||||
|
|
|
@ -79,7 +79,13 @@ describe Mutant::Runner::Collector do
|
|||
|
||||
it 'aggregates results in #result' do
|
||||
subject
|
||||
expect(object.result).to eql(Mutant::Result::Env.new(env: object.env, runtime: 0.0, subject_results: [subject_a_result]))
|
||||
expect(object.result).to eql(
|
||||
Mutant::Result::Env.new(
|
||||
env: object.env,
|
||||
runtime: 0.0,
|
||||
subject_results: [subject_a_result]
|
||||
)
|
||||
)
|
||||
end
|
||||
|
||||
it_should_behave_like 'a command method'
|
||||
|
|
|
@ -35,7 +35,7 @@ RSpec.describe Mutant::Subject::Method::Instance do
|
|||
describe '#match_expression' do
|
||||
subject { object.match_expressions }
|
||||
|
||||
it { should eql(%w(Test#foo Test*).map(&Mutant::Expression.method(:parse))) }
|
||||
it { should eql(%w[Test#foo Test*].map(&Mutant::Expression.method(:parse))) }
|
||||
|
||||
it_should_behave_like 'an idempotent method'
|
||||
end
|
||||
|
|
|
@ -30,7 +30,7 @@ RSpec.describe Mutant::Subject::Method::Singleton do
|
|||
describe '#match_expression' do
|
||||
subject { object.match_expressions }
|
||||
|
||||
it { should eql(%w(Test.foo Test*).map(&Mutant::Expression.method(:parse))) }
|
||||
it { should eql(%w[Test.foo Test*].map(&Mutant::Expression.method(:parse))) }
|
||||
|
||||
it_should_behave_like 'an idempotent method'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue