Revert the name changes :(

This commit is contained in:
Sindre Sorhus 2019-02-02 01:08:22 +07:00
parent 7589763724
commit 03dca5b305
2 changed files with 35 additions and 21 deletions

View file

@ -33,7 +33,7 @@ const types = new Map<string, Test>([
]
}],
['null', {
is: is.null,
is: is.null_,
fixtures: [
null
]
@ -99,7 +99,7 @@ const types = new Map<string, Test>([
]
}],
['function', {
is: is.function,
is: is.function_,
fixtures: [
// tslint:disable:no-unused no-empty no-unused-variable only-arrow-functions no-function-expression
function foo() {},
@ -685,7 +685,7 @@ test('is.class', t => {
];
for (const x of classDeclarations) {
t.true(is.class(x));
t.true(is.class_(x));
}
});