From a481fa9808934297c3dd06bf50a23bfbd4892c3d Mon Sep 17 00:00:00 2001 From: Nedyalko Nikolov Date: Tue, 19 Jul 2016 14:37:10 +0300 Subject: [PATCH] Mark text property as special and set it with a string comming from builder. --- tests/app/xml-declaration/xml-declaration-tests.ts | 12 ++++++++++++ tns-core-modules/ui/core/view-common.ts | 3 +++ 2 files changed, 15 insertions(+) diff --git a/tests/app/xml-declaration/xml-declaration-tests.ts b/tests/app/xml-declaration/xml-declaration-tests.ts index bbf7c6a85..01ab45c4b 100644 --- a/tests/app/xml-declaration/xml-declaration-tests.ts +++ b/tests/app/xml-declaration/xml-declaration-tests.ts @@ -900,3 +900,15 @@ export function test_hasSourceCodeLocations() { var labelSource = Source.get(label); TKUnit.assertEqual(labelSource.toString(), "file:///app/" + basePath + "examples/test-page.xml:3:5"); } + +export function test_Setting_digits_for_text_Label_is_not_converted_to_number() { + var p = builder.parse(''); + var testLabel =