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
|
||||
#
|
||||
# rubocop:disable LineLength
|
||||
#
|
||||
def scope_name(scope)
|
||||
scope.name
|
||||
rescue => exception
|
||||
|
|
|
@ -2,8 +2,6 @@ module Mutant
|
|||
class Matcher
|
||||
|
||||
# Matcher for specific namespace
|
||||
#
|
||||
# rubocop:disable LineLength
|
||||
class Namespace < self
|
||||
include Concord::Public.new(:env, :expression)
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ module Mutant
|
|||
#
|
||||
# @api private
|
||||
#
|
||||
# rubocop:disable MethodLength
|
||||
# rubocop:disable AbcSize
|
||||
#
|
||||
def run
|
||||
|
|
|
@ -105,8 +105,6 @@ module Mutant
|
|||
#
|
||||
# @api private
|
||||
#
|
||||
# rubocop:disable Lint/Eval
|
||||
#
|
||||
def zombify(source_path)
|
||||
kernel.eval(
|
||||
Unparser.unparse(namespaced_node(source_path)),
|
||||
|
|
|
@ -2,8 +2,6 @@ module MutantSpec
|
|||
# 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
|
||||
# mock around everywhere to test every detail.
|
||||
#
|
||||
# rubocop:disable LineLength
|
||||
class RubyVM
|
||||
include Concord.new(:expected_events)
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# rubocop:disable ClassAndModuleChildren
|
||||
RSpec.describe Mutant::Matcher::Method::Instance do
|
||||
|
||||
let(:env) { Fixtures::TEST_ENV }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# rubocop:disable ClassAndModuleChildren
|
||||
RSpec.describe Mutant::Matcher::Method::Singleton, '#each' do
|
||||
subject { object.each(&yields.method(:<<)) }
|
||||
|
||||
|
|
Loading…
Reference in a new issue