Sha256: 28a13969002fbae43ac168bfbcb7f5cb8fa6829f55393a963e3584db617efc47

Contents?: true

Size: 398 Bytes

Versions: 32

Compression:

Stored size: 398 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../../../test_helper')

describe ::Inch::Language::Ruby::CodeObject::MethodObject do
  before do
    @codebase = test_codebase(:ruby, :alias_cycle)
    @objects = @codebase.objects
  end

  describe 'Parser' do
    #
    it 'should not raise stack level too deep' do
      m = @objects.find('ViciousAliasCycle')
      m.score
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
inch-0.5.7 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.6 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.5 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.4 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.3 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.2 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.1 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.0 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.0.rc11 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.0.rc10 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.0.rc9 test/unit/language/ruby/code_object/alias_test.rb
inch-0.5.0.rc8 test/unit/language/ruby/code_object/alias_test.rb