Skip to content

Commit

Permalink
Add trailing newlines to validator files to ensure they work well wit…
Browse files Browse the repository at this point in the history
…h tools that process text files. (#34143)

tools that process text files.
  • Loading branch information
Greg Grothaus authored Apr 30, 2021
1 parent 4b59fb0 commit d1fa2aa
Show file tree
Hide file tree
Showing 67 changed files with 67 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ PASS
|
| </div>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion extensions/amp-bind/0.1/test/validator-amp-bind.out
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ PASS
| </script>
| </amp-state>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:65:2 The
>> ^~~~~~~~~
amp-bodymovin-animation/0.1/test/validator-amp-bodymovin-animation.html:69:2 The attribute 'autoplay' may not appear in tag 'amp-bodymovin-animation'. (see https://amp.dev/documentation/components/amp-bodymovin-animation/)
| </amp-bodymovin-animation>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ amp-brid-player/0.1/test/validator-amp-brid-player.html:95:2 The attribute 'dock
| width="480" height="270">
| </amp-brid-player>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ amp-carousel/0.2/test/validator-amp-carousel.html:32:2 The attribute 'delay' in
| [slide]="foo.bar">
| </amp-carousel>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ amp-date-countdown/0.1/test/validator-amp-date-countdown.html:169:2 The attribut
| </amp-date-countdown>
|
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,4 @@ amp-date-picker/0.1/test/validator-amp-date-picker.html:192:2 Invalid URL protoc
| src="http://data.com/dates.json?ref=CANONICAL_URL">
| </amp-date-picker>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ amp-experiment/0.1/test/validator-amp-experiment.html:47:0 The tag 'amp-experime
amp-experiment/0.1/test/validator-amp-experiment.html:48:4 Custom JavaScript is not allowed. (see https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed)
| </amp-experiment>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ amp-experiment/1.0/test/validator-amp-experiment.html:73:2 The inline script is
| </script>
| </amp-experiment>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ PASS
| data-href="https://www.facebook.com/zuck/posts/10102735452532991?comment_id=717538375088203">
| </amp-facebook>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ amp-google-assistant-assistjs/0.1/test/validator-amp-google-assistant-assistjs.h
| <amp-google-assistant-inline-suggestion-bar layout="responsive" width="150" height="40">
| </amp-google-assistant-inline-suggestion-bar>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion extensions/amp-iframe/0.1/test/validator-amp-iframe.out
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ amp-iframe/0.1/test/validator-amp-iframe.html:44:2 The attribute 'src' in tag 'a
|
|
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ amp-jwplayer/0.1/test/validator-amp-jwplayer.html:57:2 The tag 'amp-jwplayer' is
| layout="responsive" width="160" height="90">
| </amp-jwplayer>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ FAIL
>> ^~~~~~~~~
amp-kaltura-player/0.1/test/validator-amp-kaltura-player.html:51:2 The mandatory attribute 'data-partner' is missing in tag 'amp-kaltura-player'. (see https://amp.dev/documentation/components/amp-kaltura-player)
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ amp-live-list/0.1/test/validator-amp-live-list.html:105:4 The tag 'amp-live-list
| </amp-live-list>
|
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ amp-mega-menu/0.1/test/validator-amp-mega-menu-error.html:78:8 Tag 'div' is disa
| </amp-list>
| </amp-mega-menu>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ PASS
| </amp-list>
| </amp-mega-menu>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ amp-megaphone/0.1/test/validator-amp-megaphone.html:57:2 The specified layout 'I
| <!-- <amp-megaphone height=166 data-playlist="DEM6640968282" data-start="56.4"
| layout="fixed-height"></amp-megaphone> -->
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ amp-minute-media-player/0.1/test/validator-amp-minute-media-player.html:72:2 The
| layout="responsive" width="160" height="96">
| </amp-minute-media-player>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ amp-mowplayer/0.1/test/validator-amp-mowplayer.html:46:1 The mandatory attribute
| height="9">
| </amp-mowplayer>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion extensions/amp-mraid/0.1/test/validator-amp-mraid.out
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ amp-mraid/0.1/test/validator-amp-mraid.html:26:2 Custom JavaScript is not allowe
| </head>
| <body>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ amp-nested-menu/0.1/test/validator-amp-nested-menu-error.html:59:12 The tag 'div
| </amp-nested-menu>
| </amp-sidebar>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ PASS
| </amp-list>
| </amp-sidebar>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ PASS
| Footer
| </footer>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ PASS
| Footer
| </footer>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ PASS
| <!-- Valid: Correct use of amp-next-page with next-page-replace -->
| <div next-page-replace></div>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ PASS
| </div>
| </amp-next-page>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ PASS
| Footer
| </footer>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ PASS
| </div>
| </amp-next-page>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ amp-next-page/1.0/test/validator-amp-next-page-templates.html:49:4 The attribute
| </div>
| </amp-next-page>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ PASS
| </div>
| </amp-next-page>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ amp-nexxtv-player/0.1/test/validator-amp-nexxtv-player.html:64:4 The mandatory a
| width="480" height="270"
| ></amp-nexxtv-player>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ amp-onetap-google/0.1/test/validator-amp-onetap-google.html:36:2 The tag 'amp-on
amp-onetap-google/0.1/test/validator-amp-onetap-google.html:40:2 The mandatory attribute 'data-src' is missing in tag 'amp-onetap-google'. (see https://amp.dev/documentation/components/amp-onetap-google)
| </amp-onetap-google>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ amp-ooyala-player/0.1/test/validator-amp-ooyala.html:67:4 The mandatory attribut
| data-pcode="p0cW46sbRY1PxXueRVL2a_4BfdFz">
| </amp-ooyala-player>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:79:2 T
>> ^~~~~~~~~
amp-orientation-observer/0.1/test/validator-amp-orientation-observer.html:80:2 The attribute 'smoothing' in tag 'amp-orientation-observer' is set to the invalid value '-5'. (see https://amp.dev/documentation/components/amp-orientation-observer)
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion extensions/amp-script/0.1/test/validator-amp-script.out
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ amp-script/0.1/test/validator-amp-script.html:116:2 Custom JavaScript is not all
amp-script/0.1/test/validator-amp-script.html:121:2 The mandatory attribute 'id' is missing in tag 'script'. (see https://amp.dev/documentation/components/amp-script/)
| document.body.textContent = "Hello World!";
| </script>
| </body>
| </body>
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ amp-soundcloud/0.1/test/validator-amp-soundcloud.html:42:2 The attribute 'data-t
| layout="fixed-height"></amp-soundcloud>
|
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ PASS
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-poll.html:65:8 Th
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-quiz.html:66:8 Th
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ amp-story-interactive/0.1/test/validator-amp-story-interactive-results.html:74:8
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ PASS
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion extensions/amp-story/1.0/test/validator-amp-story-360.out
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ PASS
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ PASS
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ PASS
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ PASS
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ PASS
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ amp-story/1.0/test/validator-amp-story-page-attachment-error.html:57:8 Tag 'amp-
| </amp-story-page>
| </amp-story>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ amp-truncate-text/0.1/test/validator-amp-truncate-text.html:43:2 The attribute '
| <div slot="collapsed">Expand</div>
| </amp-truncate-text>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion extensions/amp-twitter/0.1/test/validator-amp-twitter.out
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ amp-twitter/0.1/test/validator-amp-twitter.html:99:2 The attribute 'data-momenti
| </amp-twitter>
|
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ PASS
| width="480" height="270">
| </amp-brid-player>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ amp-video-iframe/0.1/test/validator-amp-video-iframe.html:79:2 The attribute 'ro
| poster="images/kitten-playing.png">
| </amp-video-iframe>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion extensions/amp-youtube/0.1/test/validator-amp-youtube.out
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ amp-youtube/0.1/test/validator-amp-youtube.html:58:2 Mutually exclusive attribut
amp-youtube/0.1/test/validator-amp-youtube.html:64:2 The attribute 'dock' requires including the 'amp-video-docking' extension JavaScript.
| </amp-youtube>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion validator/testdata/amp4ads_feature_tests/amp_story_ad.out
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ PASS
| <body>
| <amp-img src="cats.jpg" layout="responsive" height="1280" width="720"></amp-img>
| </body>
| </html>
| </html>
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ amp4ads_feature_tests/amp_story_ad_errors.html:41:4 The attribute 'name' in tag
| <body>
| <amp-img src="cats.jpg" layout="responsive" height="1280" width="720"></amp-img>
| </body>
| </html>
| </html>
2 changes: 1 addition & 1 deletion validator/testdata/amp4ads_feature_tests/extensions.out
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ amp4ads_feature_tests/extensions.html:123:19 The extension 'amp-animation' was f
>> ^~~~~~~~~
amp4ads_feature_tests/extensions.html:123:19 The extension 'amp-lightbox' was found on this page, but is unused. Please remove this extension.
>> ^~~~~~~~~
amp4ads_feature_tests/extensions.html:123:19 The extension 'amp-mustache' was found on this page, but is unused. Please remove this extension.
amp4ads_feature_tests/extensions.html:123:19 The extension 'amp-mustache' was found on this page, but is unused. Please remove this extension.
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ amp4email_feature_tests/amp_carousel.html:44:0 The attribute 'arrows' may not ap
| </amp-carousel>
|
| </body>
| </html>
| </html>
Loading

0 comments on commit d1fa2aa

Please sign in to comment.