<commit_before>'use strict';
var test = require('ava');
var winRelease = require('./');

test(function (t) {
	t.is(winRelease('5.1.2600'), 'XP');
	t.is(winRelease('10.0.10240'), '10');
	t.end();
});<commit_msg>update tests for latest AVA version<commit_after>import test from 'ava';
import fn from './';

test(t => {
	t.is(fn('5.1.2600'), 'XP');
	t.is(fn('10.0.10240'), '10');
});
{'fraction_non_alphanumeric': 0.2657894736842105, 'fraction_numerical': 0.08421052631578947, 'mean_word_length': 5.0476190476190474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4161614', 'n_tokens_mistral': 170, 'n_tokens_neox': 153, 'n_words': 32}