mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixed several unit-tests
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user