<commit_before>class BatsAssert < Formula
  desc "Common assertions for Bats"
  homepage "https://github.com/ztombol/bats-assert"
  url "https://github.com/ztombol/bats-assert/archive/v0.3.0.tar.gz"
  sha256 "0d447e4efc488cf06ebed3dea5b55e1fb909e572fb3576434194a09485f8a7f3"
  head "https://github.com/ztombol/bats-assert.git"
  depends_on "bats-support"

  def install
    mkdir "bats-assert"
    mv "load.bash", "bats-assert/"
    mv "src", "bats-assert/"
    mv "test", "bats-assert/"
    lib.install "bats-assert"
  end

  def caveats
    <<-EOS.undent

    To load the bats-assert lib in your bats test:

        load '#{HOMEBREW_PREFIX}/lib/bats-support/load.bash'
        load '#{HOMEBREW_PREFIX}/lib/bats-assert/load.bash'

    EOS
  end

  test do<commit_msg>Calling EOS.undent is Now Disabled<commit_after>class BatsAssert < Formula
  desc "Common assertions for Bats"
  homepage "https://github.com/ztombol/bats-assert"
  url "https://github.com/ztombol/bats-assert/archive/v0.3.0.tar.gz"
  sha256 "0d447e4efc488cf06ebed3dea5b55e1fb909e572fb3576434194a09485f8a7f3"
  head "https://github.com/ztombol/bats-assert.git"
  depends_on "bats-support"

  def install
    mkdir "bats-assert"
    mv "load.bash", "bats-assert/"
    mv "src", "bats-assert/"
    mv "test", "bats-assert/"
    lib.install "bats-assert"
  end

  def caveats
    <<~EOS

    To load the bats-assert lib in your bats test:

        load '#{HOMEBREW_PREFIX}/lib/bats-support/load.bash'
        load '#{HOMEBREW_PREFIX}/lib/bats-assert/load.bash'

    EOS
  end

  test do
{'fraction_non_alphanumeric': 0.12903225806451613, 'fraction_numerical': 0.05806451612903226, 'mean_word_length': 3.2845303867403315, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '2934058', 'n_tokens_mistral': 686, 'n_tokens_neox': 608, 'n_words': 111}