Fix rubocop warnings (that I wish where errors)
This commit is contained in:
parent
04a4a44e18
commit
e8a9b6f485
7 changed files with 0 additions and 11 deletions
2
lib/mutant/env/bootstrap.rb
vendored
2
lib/mutant/env/bootstrap.rb
vendored
|
@ -85,8 +85,6 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# rubocop:disable LineLength
|
|
||||||
#
|
|
||||||
def scope_name(scope)
|
def scope_name(scope)
|
||||||
scope.name
|
scope.name
|
||||||
rescue => exception
|
rescue => exception
|
||||||
|
|
|
@ -2,8 +2,6 @@ module Mutant
|
||||||
class Matcher
|
class Matcher
|
||||||
|
|
||||||
# Matcher for specific namespace
|
# Matcher for specific namespace
|
||||||
#
|
|
||||||
# rubocop:disable LineLength
|
|
||||||
class Namespace < self
|
class Namespace < self
|
||||||
include Concord::Public.new(:env, :expression)
|
include Concord::Public.new(:env, :expression)
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# rubocop:disable MethodLength
|
|
||||||
# rubocop:disable AbcSize
|
# rubocop:disable AbcSize
|
||||||
#
|
#
|
||||||
def run
|
def run
|
||||||
|
|
|
@ -105,8 +105,6 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# rubocop:disable Lint/Eval
|
|
||||||
#
|
|
||||||
def zombify(source_path)
|
def zombify(source_path)
|
||||||
kernel.eval(
|
kernel.eval(
|
||||||
Unparser.unparse(namespaced_node(source_path)),
|
Unparser.unparse(namespaced_node(source_path)),
|
||||||
|
|
|
@ -2,8 +2,6 @@ module MutantSpec
|
||||||
# Not a real VM, just kidding. It connects the require / eval triggers
|
# Not a real VM, just kidding. It connects the require / eval triggers
|
||||||
# require semantics Zombifier relies on in a way we can avoid having to
|
# require semantics Zombifier relies on in a way we can avoid having to
|
||||||
# mock around everywhere to test every detail.
|
# mock around everywhere to test every detail.
|
||||||
#
|
|
||||||
# rubocop:disable LineLength
|
|
||||||
class RubyVM
|
class RubyVM
|
||||||
include Concord.new(:expected_events)
|
include Concord.new(:expected_events)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# rubocop:disable ClassAndModuleChildren
|
|
||||||
RSpec.describe Mutant::Matcher::Method::Instance do
|
RSpec.describe Mutant::Matcher::Method::Instance do
|
||||||
|
|
||||||
let(:env) { Fixtures::TEST_ENV }
|
let(:env) { Fixtures::TEST_ENV }
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# rubocop:disable ClassAndModuleChildren
|
|
||||||
RSpec.describe Mutant::Matcher::Method::Singleton, '#each' do
|
RSpec.describe Mutant::Matcher::Method::Singleton, '#each' do
|
||||||
subject { object.each(&yields.method(:<<)) }
|
subject { object.each(&yields.method(:<<)) }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue