From 13fc48f58c0aef384a18a2262d58a8e9cef087d9 Mon Sep 17 00:00:00 2001 From: James Nylen Date: Wed, 26 Jul 2017 18:21:09 +0100 Subject: [PATCH] Ensure that all block fixtures end with newlines --- blocks/test/fixtures/core-embed__animoto.serialized.html | 2 +- blocks/test/fixtures/core-embed__cloudup.serialized.html | 2 +- .../fixtures/core-embed__collegehumor.serialized.html | 2 +- .../test/fixtures/core-embed__dailymotion.serialized.html | 2 +- blocks/test/fixtures/core-embed__facebook.serialized.html | 2 +- blocks/test/fixtures/core-embed__flickr.serialized.html | 2 +- .../test/fixtures/core-embed__funnyordie.serialized.html | 2 +- blocks/test/fixtures/core-embed__hulu.serialized.html | 2 +- blocks/test/fixtures/core-embed__imgur.serialized.html | 2 +- .../test/fixtures/core-embed__instagram.serialized.html | 2 +- blocks/test/fixtures/core-embed__issuu.serialized.html | 2 +- .../test/fixtures/core-embed__kickstarter.serialized.html | 2 +- .../test/fixtures/core-embed__meetup-com.serialized.html | 2 +- blocks/test/fixtures/core-embed__mixcloud.serialized.html | 2 +- .../test/fixtures/core-embed__photobucket.serialized.html | 2 +- .../test/fixtures/core-embed__polldaddy.serialized.html | 2 +- blocks/test/fixtures/core-embed__reddit.serialized.html | 2 +- .../fixtures/core-embed__reverbnation.serialized.html | 2 +- .../test/fixtures/core-embed__screencast.serialized.html | 2 +- blocks/test/fixtures/core-embed__scribd.serialized.html | 2 +- .../test/fixtures/core-embed__slideshare.serialized.html | 2 +- blocks/test/fixtures/core-embed__smugmug.serialized.html | 2 +- .../test/fixtures/core-embed__soundcloud.serialized.html | 2 +- blocks/test/fixtures/core-embed__speaker.serialized.html | 2 +- blocks/test/fixtures/core-embed__spotify.serialized.html | 2 +- blocks/test/fixtures/core-embed__ted.serialized.html | 2 +- blocks/test/fixtures/core-embed__tumblr.serialized.html | 2 +- blocks/test/fixtures/core-embed__twitter.serialized.html | 2 +- .../test/fixtures/core-embed__videopress.serialized.html | 2 +- blocks/test/fixtures/core-embed__vimeo.serialized.html | 2 +- blocks/test/fixtures/core-embed__vine.serialized.html | 2 +- .../fixtures/core-embed__wordpress-tv.serialized.html | 2 +- .../test/fixtures/core-embed__wordpress.serialized.html | 2 +- blocks/test/fixtures/core-embed__youtube.serialized.html | 2 +- blocks/test/fixtures/core__button__center.serialized.html | 2 +- blocks/test/fixtures/core__code.serialized.html | 2 +- blocks/test/fixtures/core__cover-image.serialized.html | 2 +- blocks/test/fixtures/core__embed.serialized.html | 2 +- blocks/test/fixtures/core__freeform.serialized.html | 2 +- blocks/test/fixtures/core__gallery.serialized.html | 2 +- blocks/test/fixtures/core__heading__h2-em.serialized.html | 2 +- blocks/test/fixtures/core__heading__h2.serialized.html | 2 +- blocks/test/fixtures/core__html.serialized.html | 2 +- blocks/test/fixtures/core__image.serialized.html | 2 +- .../fixtures/core__image__center-caption.serialized.html | 2 +- blocks/test/fixtures/core__latest-posts.serialized.html | 2 +- blocks/test/fixtures/core__list__ul.serialized.html | 2 +- blocks/test/fixtures/core__preformatted.serialized.html | 2 +- blocks/test/fixtures/core__pullquote.serialized.html | 2 +- blocks/test/fixtures/core__quote__style-1.serialized.html | 2 +- blocks/test/fixtures/core__quote__style-2.serialized.html | 2 +- blocks/test/fixtures/core__separator.serialized.html | 2 +- blocks/test/fixtures/core__table.serialized.html | 2 +- .../test/fixtures/core__text__align-right.serialized.html | 2 +- blocks/test/fixtures/core__verse.serialized.html | 2 +- blocks/test/full-content.js | 8 ++++---- 56 files changed, 59 insertions(+), 59 deletions(-) diff --git a/blocks/test/fixtures/core-embed__animoto.serialized.html b/blocks/test/fixtures/core-embed__animoto.serialized.html index 2d00b4dc7b234..e6af9836343d1 100644 --- a/blocks/test/fixtures/core-embed__animoto.serialized.html +++ b/blocks/test/fixtures/core-embed__animoto.serialized.html @@ -3,4 +3,4 @@ https://animoto.com/
Embedded content from animoto
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__cloudup.serialized.html b/blocks/test/fixtures/core-embed__cloudup.serialized.html index 8317513dabbae..48f824b9c95cf 100644 --- a/blocks/test/fixtures/core-embed__cloudup.serialized.html +++ b/blocks/test/fixtures/core-embed__cloudup.serialized.html @@ -3,4 +3,4 @@ https://cloudup.com/
Embedded content from cloudup
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__collegehumor.serialized.html b/blocks/test/fixtures/core-embed__collegehumor.serialized.html index e55060027e7e6..e6870f568d0a7 100644 --- a/blocks/test/fixtures/core-embed__collegehumor.serialized.html +++ b/blocks/test/fixtures/core-embed__collegehumor.serialized.html @@ -3,4 +3,4 @@ https://collegehumor.com/
Embedded content from collegehumor
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__dailymotion.serialized.html b/blocks/test/fixtures/core-embed__dailymotion.serialized.html index 17a3680bf33bc..1cf3525567770 100644 --- a/blocks/test/fixtures/core-embed__dailymotion.serialized.html +++ b/blocks/test/fixtures/core-embed__dailymotion.serialized.html @@ -3,4 +3,4 @@ https://dailymotion.com/
Embedded content from dailymotion
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__facebook.serialized.html b/blocks/test/fixtures/core-embed__facebook.serialized.html index b0134a99a6a29..a2dd1ce7dd9e9 100644 --- a/blocks/test/fixtures/core-embed__facebook.serialized.html +++ b/blocks/test/fixtures/core-embed__facebook.serialized.html @@ -3,4 +3,4 @@ https://facebook.com/
Embedded content from facebook
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__flickr.serialized.html b/blocks/test/fixtures/core-embed__flickr.serialized.html index 060005490065c..b6d133afc5d35 100644 --- a/blocks/test/fixtures/core-embed__flickr.serialized.html +++ b/blocks/test/fixtures/core-embed__flickr.serialized.html @@ -3,4 +3,4 @@ https://flickr.com/
Embedded content from flickr
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__funnyordie.serialized.html b/blocks/test/fixtures/core-embed__funnyordie.serialized.html index 5d6cf0e352f29..21b1f2bf4aacf 100644 --- a/blocks/test/fixtures/core-embed__funnyordie.serialized.html +++ b/blocks/test/fixtures/core-embed__funnyordie.serialized.html @@ -3,4 +3,4 @@ https://funnyordie.com/
Embedded content from funnyordie
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__hulu.serialized.html b/blocks/test/fixtures/core-embed__hulu.serialized.html index 54fed29b9abf0..29a851edcdd0b 100644 --- a/blocks/test/fixtures/core-embed__hulu.serialized.html +++ b/blocks/test/fixtures/core-embed__hulu.serialized.html @@ -3,4 +3,4 @@ https://hulu.com/
Embedded content from hulu
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__imgur.serialized.html b/blocks/test/fixtures/core-embed__imgur.serialized.html index 982e490a212f4..9a05b120d4394 100644 --- a/blocks/test/fixtures/core-embed__imgur.serialized.html +++ b/blocks/test/fixtures/core-embed__imgur.serialized.html @@ -3,4 +3,4 @@ https://imgur.com/
Embedded content from imgur
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__instagram.serialized.html b/blocks/test/fixtures/core-embed__instagram.serialized.html index cbbac9624ab3e..bb2c9f04c0dbc 100644 --- a/blocks/test/fixtures/core-embed__instagram.serialized.html +++ b/blocks/test/fixtures/core-embed__instagram.serialized.html @@ -3,4 +3,4 @@ https://instagram.com/
Embedded content from instagram
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__issuu.serialized.html b/blocks/test/fixtures/core-embed__issuu.serialized.html index af0b652be674d..890348374d398 100644 --- a/blocks/test/fixtures/core-embed__issuu.serialized.html +++ b/blocks/test/fixtures/core-embed__issuu.serialized.html @@ -3,4 +3,4 @@ https://issuu.com/
Embedded content from issuu
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__kickstarter.serialized.html b/blocks/test/fixtures/core-embed__kickstarter.serialized.html index cf1057c4a93cd..f3034e6fd9688 100644 --- a/blocks/test/fixtures/core-embed__kickstarter.serialized.html +++ b/blocks/test/fixtures/core-embed__kickstarter.serialized.html @@ -3,4 +3,4 @@ https://kickstarter.com/
Embedded content from kickstarter
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__meetup-com.serialized.html b/blocks/test/fixtures/core-embed__meetup-com.serialized.html index 85c17eef67e66..60334419efc21 100644 --- a/blocks/test/fixtures/core-embed__meetup-com.serialized.html +++ b/blocks/test/fixtures/core-embed__meetup-com.serialized.html @@ -3,4 +3,4 @@ https://meetup.com/
Embedded content from meetup-com
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__mixcloud.serialized.html b/blocks/test/fixtures/core-embed__mixcloud.serialized.html index a31f60256c0ca..f194562551703 100644 --- a/blocks/test/fixtures/core-embed__mixcloud.serialized.html +++ b/blocks/test/fixtures/core-embed__mixcloud.serialized.html @@ -3,4 +3,4 @@ https://mixcloud.com/
Embedded content from mixcloud
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__photobucket.serialized.html b/blocks/test/fixtures/core-embed__photobucket.serialized.html index 994303b105a48..af884e8a6be15 100644 --- a/blocks/test/fixtures/core-embed__photobucket.serialized.html +++ b/blocks/test/fixtures/core-embed__photobucket.serialized.html @@ -3,4 +3,4 @@ https://photobucket.com/
Embedded content from photobucket
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__polldaddy.serialized.html b/blocks/test/fixtures/core-embed__polldaddy.serialized.html index 3e46fcad5579d..32b560621b43c 100644 --- a/blocks/test/fixtures/core-embed__polldaddy.serialized.html +++ b/blocks/test/fixtures/core-embed__polldaddy.serialized.html @@ -3,4 +3,4 @@ https://polldaddy.com/
Embedded content from polldaddy
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__reddit.serialized.html b/blocks/test/fixtures/core-embed__reddit.serialized.html index bc9bc4ca9cc59..d498ea438065d 100644 --- a/blocks/test/fixtures/core-embed__reddit.serialized.html +++ b/blocks/test/fixtures/core-embed__reddit.serialized.html @@ -3,4 +3,4 @@ https://reddit.com/
Embedded content from reddit
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__reverbnation.serialized.html b/blocks/test/fixtures/core-embed__reverbnation.serialized.html index 482b5406ae743..3897cf035426b 100644 --- a/blocks/test/fixtures/core-embed__reverbnation.serialized.html +++ b/blocks/test/fixtures/core-embed__reverbnation.serialized.html @@ -3,4 +3,4 @@ https://reverbnation.com/
Embedded content from reverbnation
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__screencast.serialized.html b/blocks/test/fixtures/core-embed__screencast.serialized.html index 9f583032659b9..31a004a6d1c1e 100644 --- a/blocks/test/fixtures/core-embed__screencast.serialized.html +++ b/blocks/test/fixtures/core-embed__screencast.serialized.html @@ -3,4 +3,4 @@ https://screencast.com/
Embedded content from screencast
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__scribd.serialized.html b/blocks/test/fixtures/core-embed__scribd.serialized.html index 7769847c701ff..5adcd8d0a55ae 100644 --- a/blocks/test/fixtures/core-embed__scribd.serialized.html +++ b/blocks/test/fixtures/core-embed__scribd.serialized.html @@ -3,4 +3,4 @@ https://scribd.com/
Embedded content from scribd
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__slideshare.serialized.html b/blocks/test/fixtures/core-embed__slideshare.serialized.html index 3fafcb4dc6342..1149779e78c7e 100644 --- a/blocks/test/fixtures/core-embed__slideshare.serialized.html +++ b/blocks/test/fixtures/core-embed__slideshare.serialized.html @@ -3,4 +3,4 @@ https://slideshare.com/
Embedded content from slideshare
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__smugmug.serialized.html b/blocks/test/fixtures/core-embed__smugmug.serialized.html index fe3cf00c3fff2..01abea919b0d1 100644 --- a/blocks/test/fixtures/core-embed__smugmug.serialized.html +++ b/blocks/test/fixtures/core-embed__smugmug.serialized.html @@ -3,4 +3,4 @@ https://smugmug.com/
Embedded content from smugmug
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__soundcloud.serialized.html b/blocks/test/fixtures/core-embed__soundcloud.serialized.html index 4e11ca9e13f54..f5414ef81c99c 100644 --- a/blocks/test/fixtures/core-embed__soundcloud.serialized.html +++ b/blocks/test/fixtures/core-embed__soundcloud.serialized.html @@ -3,4 +3,4 @@ https://soundcloud.com/
Embedded content from soundcloud
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__speaker.serialized.html b/blocks/test/fixtures/core-embed__speaker.serialized.html index d98ad1a2e744e..2e3b4592cbc35 100644 --- a/blocks/test/fixtures/core-embed__speaker.serialized.html +++ b/blocks/test/fixtures/core-embed__speaker.serialized.html @@ -3,4 +3,4 @@ https://speaker.com/
Embedded content from speaker
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__spotify.serialized.html b/blocks/test/fixtures/core-embed__spotify.serialized.html index 4872c2a4ed9d9..1fc73903acb3e 100644 --- a/blocks/test/fixtures/core-embed__spotify.serialized.html +++ b/blocks/test/fixtures/core-embed__spotify.serialized.html @@ -3,4 +3,4 @@ https://spotify.com/
Embedded content from spotify
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__ted.serialized.html b/blocks/test/fixtures/core-embed__ted.serialized.html index 164b87706001e..01eae201b6b92 100644 --- a/blocks/test/fixtures/core-embed__ted.serialized.html +++ b/blocks/test/fixtures/core-embed__ted.serialized.html @@ -3,4 +3,4 @@ https://ted.com/
Embedded content from ted
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__tumblr.serialized.html b/blocks/test/fixtures/core-embed__tumblr.serialized.html index f69836f3c0114..d558986629124 100644 --- a/blocks/test/fixtures/core-embed__tumblr.serialized.html +++ b/blocks/test/fixtures/core-embed__tumblr.serialized.html @@ -3,4 +3,4 @@ https://tumblr.com/
Embedded content from tumblr
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__twitter.serialized.html b/blocks/test/fixtures/core-embed__twitter.serialized.html index 537f6e359be2f..155eaaccbfcd0 100644 --- a/blocks/test/fixtures/core-embed__twitter.serialized.html +++ b/blocks/test/fixtures/core-embed__twitter.serialized.html @@ -3,4 +3,4 @@ https://twitter.com/automattic
We are Automattic
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__videopress.serialized.html b/blocks/test/fixtures/core-embed__videopress.serialized.html index 98a77afdee43b..1b3e5f77597a2 100644 --- a/blocks/test/fixtures/core-embed__videopress.serialized.html +++ b/blocks/test/fixtures/core-embed__videopress.serialized.html @@ -3,4 +3,4 @@ https://videopress.com/
Embedded content from videopress
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__vimeo.serialized.html b/blocks/test/fixtures/core-embed__vimeo.serialized.html index 76df2dfff0c2e..7f1a6d8889aa5 100644 --- a/blocks/test/fixtures/core-embed__vimeo.serialized.html +++ b/blocks/test/fixtures/core-embed__vimeo.serialized.html @@ -3,4 +3,4 @@ https://vimeo.com/
Embedded content from vimeo
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__vine.serialized.html b/blocks/test/fixtures/core-embed__vine.serialized.html index 504267ab8fbca..2681598e22b3f 100644 --- a/blocks/test/fixtures/core-embed__vine.serialized.html +++ b/blocks/test/fixtures/core-embed__vine.serialized.html @@ -3,4 +3,4 @@ https://vine.com/
Embedded content from vine
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__wordpress-tv.serialized.html b/blocks/test/fixtures/core-embed__wordpress-tv.serialized.html index 72683e8a4a1a9..5fbb3ea107940 100644 --- a/blocks/test/fixtures/core-embed__wordpress-tv.serialized.html +++ b/blocks/test/fixtures/core-embed__wordpress-tv.serialized.html @@ -3,4 +3,4 @@ https://wordpress.tv/
Embedded content from wordpress-tv
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__wordpress.serialized.html b/blocks/test/fixtures/core-embed__wordpress.serialized.html index e6aa8db231881..1543bb764978b 100644 --- a/blocks/test/fixtures/core-embed__wordpress.serialized.html +++ b/blocks/test/fixtures/core-embed__wordpress.serialized.html @@ -3,4 +3,4 @@ https://wordpress.com/
Embedded content from WordPress
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core-embed__youtube.serialized.html b/blocks/test/fixtures/core-embed__youtube.serialized.html index d645549fc8783..bf575266319a1 100644 --- a/blocks/test/fixtures/core-embed__youtube.serialized.html +++ b/blocks/test/fixtures/core-embed__youtube.serialized.html @@ -3,4 +3,4 @@ https://youtube.com/
Embedded content from youtube
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__button__center.serialized.html b/blocks/test/fixtures/core__button__center.serialized.html index 8e085b558c48f..0376ad37ecc3c 100644 --- a/blocks/test/fixtures/core__button__center.serialized.html +++ b/blocks/test/fixtures/core__button__center.serialized.html @@ -1,3 +1,3 @@
Help build Gutenberg
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__code.serialized.html b/blocks/test/fixtures/core__code.serialized.html index ba8ea3bed4cbd..5d3f951c17f71 100644 --- a/blocks/test/fixtures/core__code.serialized.html +++ b/blocks/test/fixtures/core__code.serialized.html @@ -2,4 +2,4 @@
export default function MyButton() {
 	return <Button>Click Me!</Button>;
 }
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__cover-image.serialized.html b/blocks/test/fixtures/core__cover-image.serialized.html index e56ce920fbf16..71dbaaf017f04 100644 --- a/blocks/test/fixtures/core__cover-image.serialized.html +++ b/blocks/test/fixtures/core__cover-image.serialized.html @@ -4,4 +4,4 @@

Guten Berg!

- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__embed.serialized.html b/blocks/test/fixtures/core__embed.serialized.html index 6ec5ef182bce1..a75136b0413ef 100644 --- a/blocks/test/fixtures/core__embed.serialized.html +++ b/blocks/test/fixtures/core__embed.serialized.html @@ -3,4 +3,4 @@ https://example.com/
Embedded content from an example URL
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__freeform.serialized.html b/blocks/test/fixtures/core__freeform.serialized.html index 232ec49ed7ff1..0bf5ad6d0d829 100644 --- a/blocks/test/fixtures/core__freeform.serialized.html +++ b/blocks/test/fixtures/core__freeform.serialized.html @@ -3,4 +3,4 @@
HTML content
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__gallery.serialized.html b/blocks/test/fixtures/core__gallery.serialized.html index 1d031e16635d3..64f50571c8cc9 100644 --- a/blocks/test/fixtures/core__gallery.serialized.html +++ b/blocks/test/fixtures/core__gallery.serialized.html @@ -7,4 +7,4 @@ title - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__heading__h2-em.serialized.html b/blocks/test/fixtures/core__heading__h2-em.serialized.html index 6ca13a28d644c..7755d1dcf4eae 100644 --- a/blocks/test/fixtures/core__heading__h2-em.serialized.html +++ b/blocks/test/fixtures/core__heading__h2-em.serialized.html @@ -1,3 +1,3 @@

The Inserter Tool

- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__heading__h2.serialized.html b/blocks/test/fixtures/core__heading__h2.serialized.html index d61ccfe498c4c..a55b391a25057 100644 --- a/blocks/test/fixtures/core__heading__h2.serialized.html +++ b/blocks/test/fixtures/core__heading__h2.serialized.html @@ -1,3 +1,3 @@

A picture is worth a thousand words, or so the saying goes

- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__html.serialized.html b/blocks/test/fixtures/core__html.serialized.html index b101b290afabe..4824e6e373c06 100644 --- a/blocks/test/fixtures/core__html.serialized.html +++ b/blocks/test/fixtures/core__html.serialized.html @@ -1,4 +1,4 @@

Some HTML code

This text will scroll from right to left - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__image.serialized.html b/blocks/test/fixtures/core__image.serialized.html index d71f8efb0b17d..2a414855b0344 100644 --- a/blocks/test/fixtures/core__image.serialized.html +++ b/blocks/test/fixtures/core__image.serialized.html @@ -1,3 +1,3 @@
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__image__center-caption.serialized.html b/blocks/test/fixtures/core__image__center-caption.serialized.html index c0e7bcca2139a..53e7f036c8a95 100644 --- a/blocks/test/fixtures/core__image__center-caption.serialized.html +++ b/blocks/test/fixtures/core__image__center-caption.serialized.html @@ -2,4 +2,4 @@
Give it a try. Press the "really wide" button on the image toolbar.
- \ No newline at end of file + diff --git a/blocks/test/fixtures/core__latest-posts.serialized.html b/blocks/test/fixtures/core__latest-posts.serialized.html index e9b8232ccd242..92aef9efca10f 100644 --- a/blocks/test/fixtures/core__latest-posts.serialized.html +++ b/blocks/test/fixtures/core__latest-posts.serialized.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__list__ul.serialized.html b/blocks/test/fixtures/core__list__ul.serialized.html index 61fb3b02a7044..309cb72c7e75a 100644 --- a/blocks/test/fixtures/core__list__ul.serialized.html +++ b/blocks/test/fixtures/core__list__ul.serialized.html @@ -7,4 +7,4 @@
  • Layout blocks, like Buttons, Hero Images, Separators, etc.
  • And Lists like this one of course :)
  • - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__preformatted.serialized.html b/blocks/test/fixtures/core__preformatted.serialized.html index 0064f0f01cf01..1a890a7a5dc2d 100644 --- a/blocks/test/fixtures/core__preformatted.serialized.html +++ b/blocks/test/fixtures/core__preformatted.serialized.html @@ -1,3 +1,3 @@
    Some preformatted text...
    And more!
    - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__pullquote.serialized.html b/blocks/test/fixtures/core__pullquote.serialized.html index be431d695e3be..73cc7b98cfd2b 100644 --- a/blocks/test/fixtures/core__pullquote.serialized.html +++ b/blocks/test/fixtures/core__pullquote.serialized.html @@ -3,4 +3,4 @@

    Testing pullquote block...

    - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__quote__style-1.serialized.html b/blocks/test/fixtures/core__quote__style-1.serialized.html index 6f6d6c0ae1507..b6f8ab20095fc 100644 --- a/blocks/test/fixtures/core__quote__style-1.serialized.html +++ b/blocks/test/fixtures/core__quote__style-1.serialized.html @@ -3,4 +3,4 @@

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__quote__style-2.serialized.html b/blocks/test/fixtures/core__quote__style-2.serialized.html index 8b567a80e8371..109f466bbd19c 100644 --- a/blocks/test/fixtures/core__quote__style-2.serialized.html +++ b/blocks/test/fixtures/core__quote__style-2.serialized.html @@ -3,4 +3,4 @@

    There is no greater agony than bearing an untold story inside you.

    - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__separator.serialized.html b/blocks/test/fixtures/core__separator.serialized.html index 5e3a7c0714b35..d835a483147f1 100644 --- a/blocks/test/fixtures/core__separator.serialized.html +++ b/blocks/test/fixtures/core__separator.serialized.html @@ -1,3 +1,3 @@
    - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__table.serialized.html b/blocks/test/fixtures/core__table.serialized.html index 33ecf7901d952..eb88517a0b91a 100644 --- a/blocks/test/fixtures/core__table.serialized.html +++ b/blocks/test/fixtures/core__table.serialized.html @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__text__align-right.serialized.html b/blocks/test/fixtures/core__text__align-right.serialized.html index e841a0450bb7c..65a819fd91c6f 100644 --- a/blocks/test/fixtures/core__text__align-right.serialized.html +++ b/blocks/test/fixtures/core__text__align-right.serialized.html @@ -1,3 +1,3 @@

    ... like this one, which is separate from the above and right aligned.

    - \ No newline at end of file + diff --git a/blocks/test/fixtures/core__verse.serialized.html b/blocks/test/fixtures/core__verse.serialized.html index 4ecbf337798d1..0e6904a898ead 100644 --- a/blocks/test/fixtures/core__verse.serialized.html +++ b/blocks/test/fixtures/core__verse.serialized.html @@ -1,3 +1,3 @@
    A verse
    And more!
    - \ No newline at end of file + diff --git a/blocks/test/full-content.js b/blocks/test/full-content.js index 3b8d55f739084..44b72cb450cf1 100644 --- a/blocks/test/full-content.js +++ b/blocks/test/full-content.js @@ -165,7 +165,9 @@ describe( 'full post content fixture', () => { ) ); } - const serializedActual = serialize( blocksActual ); + // `serialize` doesn't have a trailing newline, but the fixture + // files should. + const serializedActual = serialize( blocksActual ) + '\n'; let serializedExpected = readFixtureFile( f + '.serialized.html' ); if ( ! serializedExpected ) { @@ -180,9 +182,7 @@ describe( 'full post content fixture', () => { } try { - expect( serializedActual ).toEqual( - serializedExpected.replace( /\n$/, '' ) - ); + expect( serializedActual ).toEqual( serializedExpected ); } catch ( err ) { throw new Error( format( 'File \'%s.serialized.html\' does not match expected value:\n\n%s',