mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
fix test
This commit is contained in:
@ -194,7 +194,7 @@ export function test_parse_ShouldParseCustomComponentWitXmlNoJS() {
|
||||
var panel = <stackLayoutModule.StackLayout>p.content;
|
||||
var lbl = <labelModule.Label>panel.getChildAt(0);
|
||||
|
||||
TKUnit.assert(lbl.text === "mymodulewithxml", "Expected result: 'mymodulewithxml'; Actual result: " + lbl);
|
||||
TKUnit.assert(lbl.text, "I'm all about taht XML, no JS", "label.text");
|
||||
};
|
||||
|
||||
export function test_parse_ShouldParseCustomComponentWitXmlNoJS_WithAttributes() {
|
||||
|
Reference in New Issue
Block a user