From 89701515c6e719dd5af8030600b3f3cd424980a1 Mon Sep 17 00:00:00 2001 From: Akash Agrawal Date: Tue, 10 May 2016 23:26:16 +0530 Subject: [PATCH] Trying to work around typescript's error --- apps/tests/xml-declaration/xml-declaration-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tests/xml-declaration/xml-declaration-tests.ts b/apps/tests/xml-declaration/xml-declaration-tests.ts index eff4369b1..edb1d3371 100644 --- a/apps/tests/xml-declaration/xml-declaration-tests.ts +++ b/apps/tests/xml-declaration/xml-declaration-tests.ts @@ -149,8 +149,8 @@ export function test_loadWithAttributes() { } }); - TKUnit.assertEqual(v.customAttribute.text, lText, "Expected result: true; Actual result: " + v + ";"); - helper.assertViewBackgroundColor(v, lColor, "Expected result: true; Actual result: " + false + ";"); + TKUnit.assertEqual(v["customAttribute"]["text"], lText, "Expected result: true; Actual result: " + v + ";"); + helper.assertViewBackgroundColor(v, lColor); }; export function test_parse_ShouldNotCrashWithoutExports() {