From a663f436a6e125ea39c9279e939169dff1305af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Tue, 23 Jul 2019 14:02:15 -0300 Subject: [PATCH] Fix test issue with expect(...).to.be.empty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- test/bindings/http/unmarshaller_0_2_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bindings/http/unmarshaller_0_2_tests.js b/test/bindings/http/unmarshaller_0_2_tests.js index 17df61f..30e0e50 100644 --- a/test/bindings/http/unmarshaller_0_2_tests.js +++ b/test/bindings/http/unmarshaller_0_2_tests.js @@ -184,7 +184,7 @@ describe("HTTP Transport Binding Unmarshaller for CloudEvents v0.2", () => { un.unmarshall(payload, attributes) .then(actual => {throw {message: "failed"}}) .catch(err => - expect(err.message).to.not.empty()); + expect(err.message).to.not.empty); }); it("No error when all attributes are in place", () => {