Skip to content

Commit

Permalink
refactor: Remove trailing white space
Browse files Browse the repository at this point in the history
  • Loading branch information
Siobhan committed Feb 27, 2024
1 parent d9d8d04 commit 586a6be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class StringStripGutenbergContentForExcerptTests: XCTestCase {

XCTAssertEqual(summary, expectedSummary)
}

func testStrippingGutenbergContentForExcerptWithVideoPress2() {
let content = "<p>Before</p>\n<!-- wp:video {\"guid\":\"AbCDe\",\"id\":5297} -->\n<figure class=\"wp-block-video\"><div class=\"wp-block-embed__wrapper\">\nhttps://videopress.com/v/AbCDe?resizeToParent=true&amp;cover=true&amp;preloadContent=metadata&amp;useAverageColor=true\n</div></figure>\n<!-- /wp:video -->\n<p>After</p>"
let expectedSummary = "<p>Before</p>\n<p>After</p>"
Expand Down

0 comments on commit 586a6be

Please sign in to comment.