'use strict';

// MODULES //

var bench = require( '@stdlib/bench' );
var pkg = require( './../package.json' ).name;
var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
var stopwords = require( './../lib/savoy_stopwords_fin.js' );


// MAIN //

bench( pkg+'::non_browser', function benchmark( b ) {
	var data;
	var i;
	b.tic();
	for ( i = 0; i < b.iterations; i++ ) {
		data = stopwords();
		if ( data.length === 0 ) {
			b.fail( 'should have a length greater than 0' );
		}
	}
	b.toc();
	if ( !isStringArray( data ) ) {
		b.fail( 'should return a string array' );
	}
	b.pass( 'benchmark finished' );
	b.end();
});

@@ -225,14 +225,8 @@
 lib/
-savoy_
 stop
@@ -231,18 +231,17 @@
 opwords_
-fi
+e
 n.js' );

Fix require path