File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export var test_FormattedTextProperty_IsChanged_When_SpanIsAdded = function () {
3636 firstSpan . text = "LoremIpsum" ;
3737 formattedString . spans . push ( firstSpan ) ;
3838
39- TKUnit . assert ( formattedTextChanged === true , "FormattedText property is not changed." ) ;
39+ TKUnit . assertTrue ( formattedTextChanged , "FormattedText property is not changed." ) ;
4040}
4141
4242export var test_FormattedTextProperty_IsChanged_When_SpanIsChanged = function ( ) {
@@ -57,7 +57,7 @@ export var test_FormattedTextProperty_IsChanged_When_SpanIsChanged = function ()
5757 firstSpan . fontSize = expectedValue ;
5858 firstSpan . endEdit ( ) ;
5959
60- TKUnit . assert ( formattedTextChanged === true , "FormattedText property is not changed." ) ;
60+ TKUnit . assertTrue ( formattedTextChanged , "FormattedText property is not changed." ) ;
6161 TKUnit . assert ( formattedString . spans . getItem ( 0 ) . fontSize === expectedValue , "FormattedString internal span is not changed as expected" ) ;
6262}
6363
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ var _testOnClick = function (views: Array<viewModule.View>) {
109109 // << button-tap
110110
111111 buttonTestsNative . performNativeClick ( button ) ;
112- TKUnit . assert ( actualValue === true , "Actual: " + actualValue + "; Expected: " + true ) ;
112+ TKUnit . assertTrue ( actualValue , "Actual: " + actualValue + "; Expected: " + true ) ;
113113}
114114
115115var _testBindTextDirectlyToModel = function ( views : Array < viewModule . View > ) {
You can’t perform that action at this time.
0 commit comments