1var test = require('tap').test 2var meant = require('./') 3 4test('test vs [\'tast\', \'tbst\', \'tcst\', \'foo\']', function (t) { 5 var list = meant('test', ['tast', 'tbst', 'tcst', 'foo']) 6 t.notEqual(list.indexOf('tast'), -1, 'list has tast') 7 t.notEqual(list.indexOf('tbst'), -1, 'list has tbst') 8 t.notEqual(list.indexOf('tcst'), -1, 'list has tcst') 9 t.equal(list.indexOf('foo'), -1, 'list doesn\'t have foo') 10 t.end() 11}) 12