<commit_before>require 'formula'

class Sendemail < Formula
  homepage 'http://caspian.dotconf.net/menu/Software/SendEmail/'
  url 'http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz'
  sha1 '5c7c03ce60785c7b7695ec486c84d6e15704df38'

  def install
    bin.install 'sendEmail'
  end

  def test
    system "#{bin}/sendEmail | cat"
  end
end<commit_msg>sendemail: fix test<commit_after>require 'formula'

class Sendemail < Formula
  homepage 'http://caspian.dotconf.net/menu/Software/SendEmail/'
  url 'http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz'
  sha1 '5c7c03ce60785c7b7695ec486c84d6e15704df38'

  def install
    bin.install 'sendEmail'
  end

  test do
    `#{bin}/sendemail`.strip =~ /sendemail-#{Regexp.escape(version)}/
  end
end
{'fraction_non_alphanumeric': 0.1267427122940431, 'fraction_numerical': 0.07858048162230671, 'mean_word_length': 4.302013422818792, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5909731', 'n_tokens_mistral': 342, 'n_tokens_neox': 305, 'n_words': 46}