Sha256: 750a59c01ba0d1cfca646602bdbeb10c3a88bc21ccb9b8cb9d1724ccbda87b88
Contents?: true
Size: 276 Bytes
Versions: 8
Compression:
Stored size: 276 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Rubocop::Cop::Style::EndBlock do subject(:cop) { described_class.new } it 'reports an offence for an END block' do src = ['END { test }'] inspect_source(cop, src) expect(cop.offences.size).to eq(1) end end
Version data entries
8 entries across 8 versions & 2 rubygems