Skip to content

Commit

Permalink
Fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj committed Mar 8, 2014
1 parent dbaf9a2 commit 5f2965f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/mutant/cli/classifier/method.rb
Expand Up @@ -9,7 +9,7 @@ class Method < self

TABLE = {
'.' => Matcher::Methods::Singleton,
'#' => Matcher::Methods::Instance,
'#' => Matcher::Methods::Instance
}.freeze

REGEXP = /
Expand Down
2 changes: 1 addition & 1 deletion lib/mutant/differ.rb
Expand Up @@ -24,7 +24,7 @@ def diff
.diff(:unified) << "\n"
else
$stderr.puts(
'Mutation resulted in more than one diff, should not happen! ' +
'Mutation resulted in more than one diff, should not happen! ' \
'PLS report a bug!'
)
nil
Expand Down
2 changes: 1 addition & 1 deletion lib/mutant/reporter/cli/printer/mutation.rb
Expand Up @@ -55,7 +55,7 @@ class Noop < self
'Parsed subject AST:',
'%s',
'Unparsed source:',
'%s',
'%s'
].join("\n")

private
Expand Down
2 changes: 2 additions & 0 deletions lib/mutant/walker.rb
@@ -1,3 +1,5 @@
# encoding: UTF-8

module Mutant

# Walker for all ast nodes
Expand Down
2 changes: 1 addition & 1 deletion spec/integration/mutant/rspec_spec.rb
Expand Up @@ -4,7 +4,7 @@

describe Mutant, 'rspec integration' do

let(:base_cmd) { "bundle exec mutant -I lib --require test_app --use rspec" }
let(:base_cmd) { 'bundle exec mutant -I lib --require test_app --use rspec' }

shared_examples_for 'rspec integration' do
around do |example|
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/mutant/subject_spec.rb
Expand Up @@ -29,7 +29,7 @@ def match_expression
double(
'Context',
source_path: 'source_path',
source_line: 'source_line',
source_line: 'source_line'
)
end

Expand Down

0 comments on commit 5f2965f

Please sign in to comment.