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,18 +2,18 @@ const test = require('tape');
const isObject = require('./isObject.js');
test('Testing isObject', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof isObject === 'function', 'isObject is a Function');
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof isObject === 'function', 'isObject is a Function');
t.true(isObject([1, 2, 3, 4]), 'isObject([1, 2, 3, 4]) is a object');
t.true(isObject([]), 'isObject([]) is a object');
t.true(isObject({ a:1 }), 'isObject({ a:1 }) is a object');
t.false(isObject(true), 'isObject(true) is not a object');
t.true(isObject([1, 2, 3, 4]), 'isObject([1, 2, 3, 4]) is a object');
t.true(isObject([]), 'isObject([]) is a object');
t.true(isObject({ a:1 }), 'isObject({ a:1 }) is a object');
t.false(isObject(true), 'isObject(true) is not a object');
//t.deepEqual(isObject(args..), 'Expected');
//t.equal(isObject(args..), 'Expected');
//t.false(isObject(args..), 'Expected');
//t.throws(isObject(args..), 'Expected');
t.end();
//t.deepEqual(isObject(args..), 'Expected');
//t.equal(isObject(args..), 'Expected');
//t.false(isObject(args..), 'Expected');
//t.throws(isObject(args..), 'Expected');
t.end();
});