more tests for latest haxe

This commit is contained in:
Dima Granetchi
2015-01-02 18:26:17 +02:00
parent 10148e131c
commit 8c68e9d7b2
2 changed files with 32 additions and 4 deletions
+11
View File
@@ -88,6 +88,17 @@ class ChainBindTest extends BuddySuite {
var b2 = new BindableChain(4);
b.c.c.f("tada").d = val;
b2.c.c.f("tada").d = val;
BindExt.expr(b.c.c.f("tada"), function (f, t) {
t.should.not.be(null);
});
BindExt.expr(b.c.c, function (f, t) {
t.should.not.be(null);
});
BindExt.expr(b.c, function (f, t) {
t.should.not.be(null);
});
var unbind = BindExt.chain(b.c.c.f("tada").d, function (f:String, t:String) {
f.should.be(from);
from = val;