<commit_before><commit_msg>Simple specs for Brakeman runner<commit_after>require 'spec_helper'
require 'ostruct'

module Pronto
  describe Brakeman do
    let(:brakeman) { Brakeman.new }

    describe '#run' do
      subject { brakeman.run(patches) }

      context 'patches are nil' do
        let(:patches) { nil }
        it { should == [] }
      end

      context 'no patches' do
        let(:patches) { [] }
        it { should == [] }
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.11063829787234042, 'fraction_numerical': 0.0, 'mean_word_length': 2.316901408450704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2334465', 'n_tokens_mistral': 155, 'n_tokens_neox': 149, 'n_words': 41}