<commit_before>require 'spec_helper'
require 'cpe_examples'

require 'nmap/os'
require 'cgi'

describe OS do
  subject { @xml.hosts.first.os.classes.first }

  it "should parse the type" do
    subject.type.should == :"general purpose"
  end

  it "should parse the vendor" do
    subject.vendor.should == 'Linux'
  end

  it "should parse the family" do
    subject.family.should == :Linux
  end
<commit_msg>Added a missing spec.<commit_after>require 'spec_helper'
require 'cpe_examples'

require 'nmap/os'
require 'cgi'

describe OS do
  subject { @xml.hosts.first.os.classes.first }

  it "should parse the type" do
    subject.type.should == :"general purpose"
  end

  it "should parse the vendor" do
    subject.vendor.should == 'Linux'
  end

  it "should parse the family" do
    subject.family.should == :Linux
  end

  it "should parse the gen" do
    subject.gen.should == :'2.6.X'
  end

{'fraction_non_alphanumeric': 0.11123470522803114, 'fraction_numerical': 0.002224694104560623, 'mean_word_length': 3.3689320388349513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1267364', 'n_tokens_mistral': 316, 'n_tokens_neox': 296, 'n_words': 94}