<commit_before>require File.expand_path('../../../spec_helper', __FILE__)

ruby_version_is "1.9" do
  describe "Array#drop" do
    it "needs to be reviewed for spec completeness"
  end
end
<commit_msg>Adding specs for Array#drop<commit_after>require File.expand_path('../../../spec_helper', __FILE__)

ruby_version_is "1.9" do
  describe "Array#drop" do
    it "removes the specified number of elements from the start of the array" do
      [1, 2, 3, 4, 5].drop(2).should == [3, 4, 5]
    end

    it "raises an exception if the number of elements specified is negative" do
     lambda { [1, 2].drop(-3) }.should raise_error(ArgumentError)
    end

    it "returns an empty array if all elements are dropped" do
      [1, 2].drop(2).should == []
    end

    it "returns empty if more elements than exist are dropped" do
      [1, 2].drop(3).should == []
    end
  end
end

{'fraction_non_alphanumeric': 0.12485681557846506, 'fraction_numerical': 0.025200458190148912, 'mean_word_length': 3.103286384976526, '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': '908390', 'n_tokens_mistral': 296, 'n_tokens_neox': 277, 'n_words': 103}