From 3a1a4209cedbee49086d26023d1003f18a39a4cb Mon Sep 17 00:00:00 2001 From: Dima Granetchi Date: Wed, 26 Nov 2014 14:42:06 +0200 Subject: [PATCH] static plathorm null fix in buddy --- test/ExprBindTest.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ExprBindTest.hx b/test/ExprBindTest.hx index 3d51172..e142d89 100644 --- a/test/ExprBindTest.hx +++ b/test/ExprBindTest.hx @@ -56,7 +56,7 @@ class ExprBindTest extends BuddySuite { var from:Null = null; BindExt.expr(if (a.str.charAt(b.str.length) == Std.string(c.str)) 1 else 0, function (f:Null, to:Null) { - f.should.be(from); + (f == from).should.be(true); // f.should.be(from); cast f to Int from = to; to.should.be(val()); callNum ++;