Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fixture serialization with double newline ending #2069

Merged
merged 11 commits into from
Jul 30, 2017
Prev Previous commit
Add the rest of the second core/latest-posts fixture file set
  • Loading branch information
nylen committed Jul 30, 2017
commit 3fddff0a97f85e01e7d640d259e0950b0091df5f
13 changes: 13 additions & 0 deletions blocks/test/fixtures/core__latest-posts__displayPostDate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"uid": "_uid_0",
"name": "core/latest-posts",
"isValid": true,
"attributes": {
"postsToShow": 5,
"displayPostDate": true,
"layout": "list",
"columns": 3
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"blockName": "core/latest-posts",
"attrs": {
"postsToShow": 5,
"displayPostDate": true
},
"rawContent": ""
},
{
"attrs": {},
"rawContent": "\n"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:core/latest-posts {"displayPostDate":true} /-->