Fixed several unit-tests

This commit is contained in:
hshristov
2015-07-27 19:20:59 +03:00
parent 41168d3782
commit bd50fb5550
12 changed files with 262 additions and 143 deletions

View File

@@ -217,7 +217,7 @@ export function test_insertChildAtPosition() {
let newChild = new Button();
newChild.text = 'in-between';
rootLayout.insertChild(1, newChild);
rootLayout.insertChild(newChild, 1);
assertChildTexts("btn1|in-between|btn2", rootLayout, "button inserted at correct location");
}