<commit_before>'use strict';

var vows = require('vows');
var exec = require('child_process').exec;
var expect = require('chai').expect;
var grunt = require('grunt');

vows.describe('grunt').addBatch({
  "grunt fail:25" : {
    topic : function(){
      exec('grunt --verbose fail:25', this.callback);
    },
    "should have an error code of 25" : function(error, stdout){
      grunt.verbose.error(error);
      grunt.verbose.error().errorlns(stdout);
      expect(error).to.have.property('code', 25);
    }
  },
  "grunt fail:awesome" : {
    topic : function(){
      exec('grunt --verbose fail:awesome', this.callback);
    },
    "should have an error message of 'awesome'" : function(error, stdout){
      grunt.verbose.error(error);
      grunt.verbose.error().errorlns(stdout);
      expect(stdout).to.have.string('error: awesome');
    },
    "should have an error code of 255" : function(error){
      expect(error).to.have.property('code', 255);
    }
  },
  "grunt fail:awesome:43" : {
    topic : function(){
      exec('grunt --verbose fail:awesome:43', this.callback);
    },
    "should have an error message of 'awesome'" : function(error, stdout){
      expect(stdout).to.have.string('error: awesome');
    },
    "should have an error code of 43" : function(error){
      expect(error).to.have.property('code', 43);
    }
  },
  "grunt fail" : {
    topic : function(){
      exec('grunt --verbose fail', this.callback);
    },
    "should have an error message of 'Failed on purpose.'" : function(error, stdout){
      grunt.verbose.error(error);
      grunt.verbose.error().errorlns(stdout);
      expect(stdout).to.have.string('error: Failed on purpose');
    },
    "should have an error code of 255" : function(error){
      expect(error).to.have.property('code', 255);
    }
  }
}).export(module, {error: false});<commit_msg>tiny change in test descript<commit_after>'use strict';

var vows = require('vows');
var exec = require('child_process').exec;
var expect = require('chai').expect;
var grunt = require('grunt');

vows.describe('grunt').addBatch({
  "grunt fail:25" : {
    topic : function(){
      exec('grunt --verbose fail:25', this.callback);
    },
    "should have an error code of 25" : function(error, stdout){
      grunt.verbose.error(error);
      grunt.verbose.error().errorlns(stdout);
      expect(error).to.have.property('code', 25);
    }
  },
  "grunt fail:awesome" : {
    topic : function(){
      exec('grunt --verbose fail:awesome', this.callback);
    },
    "should have an error message of 'awesome'" : function(error, stdout){
      grunt.verbose.error(error);
      grunt.verbose.error().errorlns(stdout);
      expect(stdout).to.have.string('error: awesome');
    },
    "should have an error code of 255" : function(error){
      expect(error).to.have.property('code', 255);
    }
  },
  "grunt fail:awesome:43" : {
    topic : function(){
      exec('grunt --verbose fail:awesome:43', this.callback);
    },
    "should have an error message of 'awesome'" : function(error, stdout){
      expect(stdout).to.have.string('error: awesome');
    },
    "should have an error code of 43" : function(error){
      expect(error).to.have.property('code', 43);
    }
  },
  "grunt fail" : {
    topic : function(){
      exec('grunt --verbose fail', this.callback);
    },
    "should have an error message of 'Failed on purpose'" : function(error, stdout){
      grunt.verbose.error(error);
      grunt.verbose.error().errorlns(stdout);
      expect(stdout).to.have.string('error: Failed on purpose');
    },
    "should have an error code of 255" : function(error){
      expect(error).to.have.property('code', 255);
    }
  }
}).export(module, {error: false});
{'fraction_non_alphanumeric': 0.17195909580193758, 'fraction_numerical': 0.015069967707212056, 'mean_word_length': 3.2724137931034485, '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': '1491986', 'n_tokens_mistral': 1224, 'n_tokens_neox': 1170, 'n_words': 271}