Fix rubocop warnings (that I wish where errors)

This commit is contained in:
Markus Schirp 2015-06-14 22:56:11 +00:00
parent 04a4a44e18
commit e8a9b6f485
7 changed files with 0 additions and 11 deletions

View file

@ -85,8 +85,6 @@ module Mutant
#
# @api private
#
# rubocop:disable LineLength
#
def scope_name(scope)
scope.name
rescue => exception

View file

@ -2,8 +2,6 @@ module Mutant
class Matcher
# Matcher for specific namespace
#
# rubocop:disable LineLength
class Namespace < self
include Concord::Public.new(:env, :expression)

View file

@ -22,7 +22,6 @@ module Mutant
#
# @api private
#
# rubocop:disable MethodLength
# rubocop:disable AbcSize
#
def run

View file

@ -105,8 +105,6 @@ module Mutant
#
# @api private
#
# rubocop:disable Lint/Eval
#
def zombify(source_path)
kernel.eval(
Unparser.unparse(namespaced_node(source_path)),

View file

@ -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)

View file

@ -1,4 +1,3 @@
# rubocop:disable ClassAndModuleChildren
RSpec.describe Mutant::Matcher::Method::Instance do
let(:env) { Fixtures::TEST_ENV }

View file

@ -1,4 +1,3 @@
# rubocop:disable ClassAndModuleChildren
RSpec.describe Mutant::Matcher::Method::Singleton, '#each' do
subject { object.each(&yields.method(:<<)) }