From c7f3b77aacb5759ec6716e46f94e10e5c5f811c4 Mon Sep 17 00:00:00 2001 From: HirokiUchikawa Date: Fri, 20 Jul 2018 17:04:49 +0900 Subject: [PATCH] Fix test cases of `empty` rule --- test/nodes/core/logic/10-switch_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nodes/core/logic/10-switch_spec.js b/test/nodes/core/logic/10-switch_spec.js index d53ad3f49..f0e884fce 100644 --- a/test/nodes/core/logic/10-switch_spec.js +++ b/test/nodes/core/logic/10-switch_spec.js @@ -379,7 +379,7 @@ describe('switch Node', function() { singularSwitchTest("empty", true, false, undefined, done); }); it('should check if payload is empty (0)', function(done) { - singularSwitchTest("empty", true, false, null, done); + singularSwitchTest("empty", true, false, 0, done); }); it('should check if payload is not empty (string)', function(done) { @@ -413,7 +413,7 @@ describe('switch Node', function() { singularSwitchTest("nempty", true, false, undefined, done); }); it('should check if payload is not empty (0)', function(done) { - singularSwitchTest("nempty", true, false, null, done); + singularSwitchTest("nempty", true, false, 0, done); });