diff --git a/blocks/test/fixtures/core-embed__animoto.serialized.html b/blocks/test/fixtures/core-embed__animoto.serialized.html
index 2d00b4dc7b234c..e6af9836343d1e 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 8317513dabbaea..48f824b9c95cfa 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 e55060027e7e63..e6870f568d0a78 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 17a3680bf33bc1..1cf35255677705 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 b0134a99a6a295..a2dd1ce7dd9e9b 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 060005490065c3..b6d133afc5d35f 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 5d6cf0e352f29f..21b1f2bf4aacfe 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 54fed29b9abf03..29a851edcdd0b3 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 982e490a212f43..9a05b120d43947 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 cbbac9624ab3ea..bb2c9f04c0dbc8 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 af0b652be674d2..890348374d3985 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 cf1057c4a93cd9..f3034e6fd96881 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 85c17eef67e664..60334419efc212 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 a31f60256c0ca3..f1945625517031 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 994303b105a489..af884e8a6be15d 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 3e46fcad5579da..32b560621b43ca 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 bc9bc4ca9cc596..d498ea438065d9 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 482b5406ae7436..3897cf035426b0 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 9f583032659b90..31a004a6d1c1ec 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 7769847c701ffe..5adcd8d0a55ae0 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 3fafcb4dc63425..1149779e78c7e9 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 fe3cf00c3fff24..01abea919b0d1b 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 4e11ca9e13f54d..f5414ef81c99cf 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 d98ad1a2e744ec..2e3b4592cbc357 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 4872c2a4ed9d99..1fc73903acb3e1 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 164b87706001eb..01eae201b6b924 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 f69836f3c01147..d558986629124a 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 537f6e359be2fe..155eaaccbfcd04 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 98a77afdee43bf..1b3e5f77597a21 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 76df2dfff0c2ed..7f1a6d8889aa5d 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 504267ab8fbca4..2681598e22b3fd 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 72683e8a4a1a9e..5fbb3ea107940a 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 e6aa8db231881a..1543bb764978bd 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 d645549fc87830..bf575266319a1d 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 8e085b558c48f6..0376ad37ecc3cb 100644
--- a/blocks/test/fixtures/core__button__center.serialized.html
+++ b/blocks/test/fixtures/core__button__center.serialized.html
@@ -1,3 +1,3 @@
-
\ 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 ba8ea3bed4cbdd..5d3f951c17f71c 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 e56ce920fbf162..71dbaaf017f04c 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 6ec5ef182bce1c..a75136b0413ef7 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 232ec49ed7ff1c..0bf5ad6d0d8292 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 1d031e16635d3c..64f50571c8cc93 100644
--- a/blocks/test/fixtures/core__gallery.serialized.html
+++ b/blocks/test/fixtures/core__gallery.serialized.html
@@ -7,4 +7,4 @@
-
\ 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 6ca13a28d644c5..7755d1dcf4eae2 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 d61ccfe498c4cf..a55b391a250578 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 b101b290afabe1..4824e6e373c06e 100644
--- a/blocks/test/fixtures/core__html.serialized.html
+++ b/blocks/test/fixtures/core__html.serialized.html
@@ -1,4 +1,4 @@
Some HTML code
-
\ 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 d71f8efb0b17dc..2a414855b03441 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 c0e7bcca2139aa..53e7f036c8a958 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 @@
-
\ 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 e9b8232ccd242b..92aef9efca10f1 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 61fb3b02a70440..309cb72c7e75a4 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 0064f0f01cf017..1a890a7a5dc2d0 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 be431d695e3be8..73cc7b98cfd2b8 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 6f6d6c0ae15077..b6f8ab20095fc7 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 8b567a80e83715..109f466bbd19c5 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 5e3a7c0714b35d..d835a483147f13 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 33ecf7901d9522..eb88517a0b91aa 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 e841a0450bb7c7..65a819fd91c6f2 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 4ecbf337798d1c..0e6904a898eadb 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 3b8d55f739084d..44b72cb450cf1a 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',