Sha256: bcfabfdac0f3b557c7dad582685f55086e0359557788ab234614eef2877738fc
Contents?: true
Size: 369 Bytes
Versions: 10
Compression:
Stored size: 369 Bytes
Contents
require 'spec_helper' describe Fasterer::Analyzer do let(:test_file_path) { RSpec.root.join('support', 'analyzer', '18_block_vs_symbol_to_proc.rb') } it 'should block that could be called with symbol 2 times' do analyzer = Fasterer::Analyzer.new(test_file_path) analyzer.scan expect(analyzer.errors[:block_vs_symbol_to_proc].count).to eq(2) end end
Version data entries
10 entries across 10 versions & 1 rubygems