File: test.js

package info (click to toggle)
node-arr-exclude 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 100 kB
  • sloc: makefile: 2; sh: 2
file content (9 lines) | stat: -rw-r--r-- 179 bytes parent folder | download
1
2
3
4
5
6
7
8
9
'use strict';
var test = require('ava');
var fn = require('./');

test(function (t) {
	t.same(fn(['a', 'b', 'c'], ['b']), ['a', 'c']);
	t.same(fn(null, ['a']), []);
	t.end();
});