Updated testing with proper indentation
Uses two spaces instead of hard tabs.
This commit is contained in:
@ -2,13 +2,13 @@ const test = require('tape');
|
||||
const capitalizeEveryWord = require('./capitalizeEveryWord.js');
|
||||
|
||||
test('Testing capitalizeEveryWord', (t) => {
|
||||
//For more information on all the methods supported by tape
|
||||
//Please go to https://github.com/substack/tape
|
||||
t.true(typeof capitalizeEveryWord === 'function', 'capitalizeEveryWord is a Function');
|
||||
t.equal(capitalizeEveryWord('hello world!'), 'Hello World!', "Capitalizes the first letter of every word in a string");
|
||||
//t.deepEqual(capitalizeEveryWord(args..), 'Expected');
|
||||
//t.equal(capitalizeEveryWord(args..), 'Expected');
|
||||
//t.false(capitalizeEveryWord(args..), 'Expected');
|
||||
//t.throws(capitalizeEveryWord(args..), 'Expected');
|
||||
t.end();
|
||||
//For more information on all the methods supported by tape
|
||||
//Please go to https://github.com/substack/tape
|
||||
t.true(typeof capitalizeEveryWord === 'function', 'capitalizeEveryWord is a Function');
|
||||
t.equal(capitalizeEveryWord('hello world!'), 'Hello World!', "Capitalizes the first letter of every word in a string");
|
||||
//t.deepEqual(capitalizeEveryWord(args..), 'Expected');
|
||||
//t.equal(capitalizeEveryWord(args..), 'Expected');
|
||||
//t.false(capitalizeEveryWord(args..), 'Expected');
|
||||
//t.throws(capitalizeEveryWord(args..), 'Expected');
|
||||
t.end();
|
||||
});
|
||||
Reference in New Issue
Block a user