Fix tsc errors

This commit is contained in:
Rossen Hristov
2016-12-12 10:46:45 +02:00
parent 39007ab05e
commit d1edf6bb93
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ export var test_FormattedTextProperty_IsChanged_When_SpanIsAdded = function () {
firstSpan.text = "LoremIpsum";
formattedString.spans.push(firstSpan);
TKUnit.assert(formattedTextChanged === true, "FormattedText property is not changed.");
TKUnit.assertTrue(formattedTextChanged, "FormattedText property is not changed.");
}
export var test_FormattedTextProperty_IsChanged_When_SpanIsChanged = function () {
@@ -57,7 +57,7 @@ export var test_FormattedTextProperty_IsChanged_When_SpanIsChanged = function ()
firstSpan.fontSize = expectedValue;
firstSpan.endEdit();
TKUnit.assert(formattedTextChanged === true, "FormattedText property is not changed.");
TKUnit.assertTrue(formattedTextChanged, "FormattedText property is not changed.");
TKUnit.assert(formattedString.spans.getItem(0).fontSize === expectedValue, "FormattedString internal span is not changed as expected");
}