diff --git a/test/words/words.test.js b/test/words/words.test.js index b64edd235..f15d1446f 100644 --- a/test/words/words.test.js +++ b/test/words/words.test.js @@ -5,7 +5,9 @@ test('Testing words', (t) => { //For more information on all the methods supported by tape //Please go to https://github.com/substack/tape t.true(typeof words === 'function', 'words is a Function'); - // t.equal(words('I love javaScript!!'), ["I", "love", "javaScript"], "Returns words from a string"); + t.deepEqual(words('I love javaScript!!'), ["I", "love", "javaScript"], "Returns words from a string"); + t.deepEqual(words('python, javaScript & coffee'), ["python", "javaScript", "coffee"], "Returns words from a string"); + //t.deepEqual(words(args..), 'Expected'); //t.equal(words(args..), 'Expected'); //t.false(words(args..), 'Expected');