Skip to content

Commit 998ba53

Browse files
committed
Require ui/label instead of tns_modules/tns-core-modules/ui/label in tests
1 parent def379b commit 998ba53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/app/xml-declaration/xml-declaration-tests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function test_loadWithOptionsFromTNS() {
126126

127127
export function test_loadWithOptionsFromTNSPath() {
128128
var v = builder.load({
129-
path: "tns_modules/tns-core-modules/ui/label",
129+
path: "ui/label",
130130
name: "Label"
131131
});
132132

@@ -139,7 +139,7 @@ export function test_loadWithAttributes() {
139139
var lColor = "#FF0000"; // red
140140

141141
var v = builder.load({
142-
path: "tns_modules/tns-core-modules/ui/label",
142+
path: "ui/label",
143143
name: "Label",
144144
attributes: {
145145
text: lText,
@@ -517,7 +517,7 @@ export function test_parse_ShouldParseCustomComponentWithoutXml() {
517517
};
518518

519519
export function test_parse_ShouldParseCustomComponentWithoutXmlFromTNSModules() {
520-
var p = <Page>builder.parse('<Page xmlns' + ':customControls="tns_modules/tns-core-modules/ui/label"><customControls:Label /></Page>');
520+
var p = <Page>builder.parse('<Page xmlns' + ':customControls="ui/label"><customControls:Label /></Page>');
521521
var ctrl = p.content;
522522

523523
TKUnit.assert(ctrl instanceof Label, "Expected result: custom control is defined!; Actual result: " + ctrl);

0 commit comments

Comments
 (0)