<commit_before>const seneca = require('./util');
const test = require('tape');

seneca.ready(function () {
	test('getMovie returns a seneca entity', function test(t) {
		t.plan(4);
		seneca.act({action: 'get', subject: 'movie', title: 'Die Hard'}, function (err, data) {
			t.equal(null, err, 'no error should be returned when movie is found');
			t.ok(data, 'data is returned');
		});
		seneca.act({action: 'get', subject: 'movie', title: 'Die Flarb'}, function (err, data) {
			t.error(err, 'an error should be returned when movie is not found');
			t.equal(data, null, 'no data is returned');
		});
	});
});<commit_msg>Adding spaces to force a build on wercker<commit_after>const seneca = require('./util');
const test = require('tape');

seneca.ready(function () {

	test('getMovie returns a seneca entity', function test(t) {
		t.plan(4);
		seneca.act({action: 'get', subject: 'movie', title: 'Die Hard'}, function (err, data) {
			t.equal(null, err, 'no error should be returned when movie is found');
			t.ok(data, 'data is returned');
		});
		seneca.act({action: 'get', subject: 'movie', title: 'Die Flarb'}, function (err, data) {
			t.error(err, 'an error should be returned when movie is not found');
			t.equal(data, null, 'no data is returned');
		});
	});

});
{'fraction_non_alphanumeric': 0.18053375196232338, 'fraction_numerical': 0.0015698587127158557, 'mean_word_length': 4.448717948717949, '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': '5678889', 'n_tokens_mistral': 450, 'n_tokens_neox': 415, 'n_words': 141}