<commit_before>require 'spec_helper'
require 'hexdump/core_ext'

describe "Hexdump core_ext" do
  it "should include Hexdump into String" do
    expect(String).to include(Hexdump::Mixin)
  end

  it "should include Hexdump into StringIO" do
    expect(StringIO).to include(Hexdump::Mixin)
  end

  it "should include Hexdump into IO" do
    expect(IO).to include(Hexdump::Mixin)
  end

  it "should define File.hexdump" do
    expect(File).to respond_to(:hexdump)
  end

  it "should define Kernel.hexdump" do
    expect(::Kernel).to include(Hexdump::ModuleMethods)
  end
end<commit_msg>Improved the spec descriptions for core_ext specs.<commit_after>require 'spec_helper'
require 'hexdump/core_ext'

describe "Hexdump core_ext" do
  it "should include Hexdump::Mixin into String" do
    expect(String).to include(Hexdump::Mixin)
  end

  it "should include Hexdump::Mixin into StringIO" do
    expect(StringIO).to include(Hexdump::Mixin)
  end

  it "should include Hexdump::Mixin into IO" do
    expect(IO).to include(Hexdump::Mixin)
  end

  it "should define File.hexdump" do
    expect(File).to respond_to(:hexdump)
  end

  it "should include Hexdump::ModuleMethods into ::Kernel" do
    expect(::Kernel).to include(Hexdump::ModuleMethods)
  end
end
{'fraction_non_alphanumeric': 0.100398406374502, 'fraction_numerical': 0.0, 'mean_word_length': 4.632286995515695, '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': '881606', 'n_tokens_mistral': 428, 'n_tokens_neox': 408, 'n_words': 117}