Updated testing with proper indentation

Uses two spaces instead of hard tabs.
This commit is contained in:
Angelos Chalaris
2018-01-24 17:53:36 +02:00
parent 12694c3cb0
commit 9217979f80
279 changed files with 2463 additions and 2463 deletions

View File

@ -2,9 +2,9 @@ const test = require('tape');
const is = require('./is.js');
test('Testing is', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof is === 'function', 'is is a Function');
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof is === 'function', 'is is a Function');
t.true(is(Array, [1]), `Works for arrays with data`);
t.true(is(Array, []), `Works for empty arrays`);
t.false(is(Array, {}), `Works for arrays, not objects`);
@ -21,9 +21,9 @@ test('Testing is', (t) => {
t.false(is(Boolean, false), `Works for booleans - returns false for primitive`);
t.true(is(Boolean, new Boolean(false)), `Works for booleans - returns true when using constructor`);
t.true(is(Function, () => null), `Works for functions`);
//t.deepEqual(is(args..), 'Expected');
//t.equal(is(args..), 'Expected');
//t.false(is(args..), 'Expected');
//t.throws(is(args..), 'Expected');
t.end();
//t.deepEqual(is(args..), 'Expected');
//t.equal(is(args..), 'Expected');
//t.false(is(args..), 'Expected');
//t.throws(is(args..), 'Expected');
t.end();
});