From e2c77078a2288c4479ab781edf799258651f6c78 Mon Sep 17 00:00:00 2001 From: Dima Granetchi Date: Sun, 26 Feb 2017 03:48:08 +0200 Subject: [PATCH] minor test fixes --- test/ChainBindTest.hx | 4 ++++ test/TestProperty.hx | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/ChainBindTest.hx b/test/ChainBindTest.hx index 16e0e63..702a4d9 100644 --- a/test/ChainBindTest.hx +++ b/test/ChainBindTest.hx @@ -59,6 +59,8 @@ class ChainBindTest extends BuddySuite { target.a.should.be(val); callNum.should.be(5); + + unbind(); }); it("BindExt.chain should bind chain changes (null links)", function () { @@ -82,6 +84,8 @@ class ChainBindTest extends BuddySuite { b.c.c.d = val = "b"; target.a.should.be(val); callNum.should.be(3); + + unbind(); }); it("BindExt.chain should bind chain changes (0 gap)", function () { diff --git a/test/TestProperty.hx b/test/TestProperty.hx index 4c0a989..e7b0d06 100644 --- a/test/TestProperty.hx +++ b/test/TestProperty.hx @@ -137,7 +137,6 @@ class TestProperty extends BuddySuite { }); it("bindx should bind 2 objects (lazySignal=true)", function () { - var callNum2 = 0; var target = {a:""}; var s = ""; @@ -157,7 +156,6 @@ class TestProperty extends BuddySuite { }); it("bindx should bind 2 objects (lazySignal=false)", function () { - var callNum2 = 0; var target = {a:""}; var s = "";