File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
aztec/src/test/kotlin/org/wordpress/aztec Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1019,23 +1019,23 @@ class AztecToolbarTest {
10191019 @Test
10201020 @Throws(Exception ::class )
10211021 fun hiddenElementAlignment () {
1022- editText.fromHtml(" <div>a<br>< div>b<br><span>c</span><br>d</div></div>" )
1022+ editText.fromHtml(" <div>a<div>b<br><span>c</span><br>d</div></div>" )
10231023
10241024 editText.setSelection(editText.text.indexOf(" a" ))
10251025 alignRightButton.performClick()
1026- Assert .assertEquals(" <div style=\" text-align:right;\" >a<br>< div>b<br><span>c</span><br>d</div></div>" ,
1026+ Assert .assertEquals(" <div style=\" text-align:right;\" >a<div>b<br><span>c</span><br>d</div></div>" ,
10271027 editText.toHtml())
10281028
10291029 editText.setSelection(editText.text.indexOf(" c" ) + 1 )
10301030 alignCenterButton.performClick()
1031- Assert .assertEquals(" <div style=\" text-align:center;\" >a<br> " +
1031+ Assert .assertEquals(" <div style=\" text-align:center;\" >a" +
10321032 " <div style=\" text-align:center;\" >b<br>" +
10331033 " <span style=\" text-align:center;\" >c</span><br>d</div></div>" ,
10341034 editText.toHtml())
10351035
10361036 editText.setSelection(editText.text.indexOf(" d" ))
10371037 alignLeftButton.performClick()
1038- Assert .assertEquals(" <div style=\" text-align:left;\" >a<br> " +
1038+ Assert .assertEquals(" <div style=\" text-align:left;\" >a" +
10391039 " <div style=\" text-align:left;\" >b<br>" +
10401040 " <span style=\" text-align:center;\" >c</span><br>d</div></div>" ,
10411041 editText.toHtml())
You can’t perform that action at this time.
0 commit comments