From 41d37b23b8b8e0782bf29b4f4670626b922840fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A1ssio=20Noronha?= Date: Sat, 31 Mar 2018 18:21:35 +0200 Subject: [PATCH] Corrections of empty functions for types. The actual examples don't work beacause "empty" is a not function. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7f5b5df..c6fae79 100644 --- a/README.md +++ b/README.md @@ -106,11 +106,11 @@ expect([1,2,3]).to.have.length(3); **empty**: asserts that an array is empty or not ```js -expect([]).to.be.empty(); -expect({}).to.be.empty(); -expect({ length: 0, duck: 'typing' }).to.be.empty(); -expect({ my: 'object' }).to.not.be.empty(); -expect([1,2,3]).to.not.be.empty(); +expect([]).to.be.empty; +expect({}).to.be.empty; +expect({ length: 0, duck: 'typing' }).to.not.be.empty; +expect({ my: 'object' }).to.not.be.empty; +expect([1,2,3]).to.not.be.empty; ``` **property**: asserts presence of an own property (and value optionally)