<commit_before>'use strict';

module.exports = {
	"Same paths": function (t, a) {
		a.equal(t('/a/b/c', '/a/b/c'), '');
	},
	"From deeper than to": function (t, a) {
		a.equal(t('/a/b/c/d/', '/a/b/'), '../../');
	},
	"From deeper than to (file)": function (t, a) {
		a.equal(t('/a/b/c/d/', '/a/b/x'), '../../x');
	},
	"To deeper than from": function (t, a) {
		a.equal(t('/a/b/', '/a/b/c/d/'), 'c/d/');
	},
	"To deeper than from (file)": function (t, a) {
		a.equal(t('/a/b/', '/a/b/c/d/x'), 'c/d/x');
	},
	"Different paths": function (t, a) {
		a.equal(t('/a/b/c/', '/e/f/g/'), '../../../e/f/g/');
	},
	"CWD": function (t, a) {
		a.equal(t(__dirname + '/a/b/'), t(process.cwd(), __dirname + '/a/b/'));
	}
};
<commit_msg>Fix tests for Windows<commit_after>'use strict';

var join = require('path').join;

module.exports = {
	"Same paths": function (t, a) {
		a.equal(t('/a/b/c', '/a/b/c'), '');
	},
	"From deeper than to": function (t, a) {
		a.equal(t('/a/b/c/d/', '/a/b/'), join('../../'));
	},
	"From deeper than to (file)": function (t, a) {
		a.equal(t('/a/b/c/d/', '/a/b/x'), join('../../x'));
	},
	"To deeper than from": function (t, a) {
		a.equal(t('/a/b/', '/a/b/c/d/'), join('c/d/'));
	},
	"To deeper than from (file)": function (t, a) {
		a.equal(t('/a/b/', '/a/b/c/d/x'), join('c/d/x'));
	},
	"Different paths": function (t, a) {
		a.equal(t('/a/b/c/', '/e/f/g/'), join('../../../e/f/g/'));
	},
	"CWD": function (t, a) {
		a.equal(t(__dirname + '/a/b/'), t(process.cwd(),
			__dirname + join('/a/b/')));
	}
};

{'fraction_non_alphanumeric': 0.35390676296782664, 'fraction_numerical': 0.0, 'mean_word_length': 2.569086651053864, 'pattern_counts': {'":': 14, '<': 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': '4587645', 'n_tokens_mistral': 736, 'n_tokens_neox': 721, 'n_words': 143}