File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
app/src/androidTest/kotlin/org/wordpress/aztec/demo/tests
aztec/src/test/kotlin/org/wordpress/aztec Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ class FormattingHistoryTests : BaseHistoryTest() {
232232 fun testMakeStrikethroughUndoRedo () {
233233 val snippet1 = " There's no crying in"
234234 val snippet2 = " baseball!"
235- val html = " $snippet1 <del >$snippet2 </del >"
235+ val html = " $snippet1 <s >$snippet2 </s >"
236236 val editorPage = EditorPage ()
237237
238238 // Insert first snippet
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class SimpleTextFormattingTests : BaseTest() {
4646 fun testSimpleStrikethroughFormatting () {
4747 val text1 = " some"
4848 val text2 = " text"
49- val html = " $text1 <del >$text2 </del >"
49+ val html = " $text1 <s >$text2 </s >"
5050
5151 EditorPage ()
5252 .insertText(text1)
@@ -351,7 +351,7 @@ class SimpleTextFormattingTests : BaseTest() {
351351 fun testInlineStyleAndSpace () {
352352 val text1 = " some"
353353 val text2 = " text "
354- val html = " $text1 <del >$text2 </del >"
354+ val html = " $text1 <s >$text2 </s >"
355355
356356 EditorPage ()
357357 .insertText(text1)
Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ class LinkTest {
4747 @Test
4848 @Throws(Exception ::class )
4949 fun insertLinkIntoStyledText () {
50- editText.fromHtml(" <del ><b>left</b><i>right</i></del >" )
50+ editText.fromHtml(" <s ><b>left</b><i>right</i></s >" )
5151 editText.setSelection(4 )
5252 editText.link(" http://wordpress.com" , " WordPress" )
5353 // Still valid, but order of b and del is switched here for some reason.
54- Assert .assertEquals(" <b><del >left</del ></b><b><del ><a href=\" http://wordpress.com\" >WordPress</a></del ></b><del ><i>right</i></del >" , editText.toHtml())
54+ Assert .assertEquals(" <b><s >left</s ></b><b><s ><a href=\" http://wordpress.com\" >WordPress</a></s ></b><s ><i>right</i></s >" , editText.toHtml())
5555 }
5656
5757 @Test
You can’t perform that action at this time.
0 commit comments