test: add newline at end of test files

This commit is contained in:
Estevao Soares dos Santos 2017-01-28 01:46:33 +00:00
parent d3ebbc128e
commit 4b53d3707b
105 changed files with 136 additions and 135 deletions

File diff suppressed because one or more lines are too long

View File

@ -6,41 +6,41 @@
### Test Suite: Basic (100 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|Simple "Hello World"|0.307|5.485|0.160|
|readme.md|8.466|18.154|7.441|
|Simple "Hello World"|0.296|5.551|0.154|
|readme.md|8.404|17.862|7.537|
### Test Suite: subParsers (1000 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|hashHTMLBlocks|0.702|1.277|0.648|
|anchors|0.188|0.505|0.165|
|autoLinks|0.017|0.180|0.015|
|blockGamut|7.541|17.398|6.680|
|blockQuotes|0.082|0.579|0.061|
|codeBlocks|0.072|1.193|0.061|
|codeSpans|0.185|0.832|0.169|
|detab|0.026|0.281|0.023|
|encodeAmpsAndAngles|0.018|0.379|0.014|
|encodeBackslashEscapes|0.014|0.241|0.013|
|encodeCode|0.180|0.539|0.162|
|escapeSpecialCharsWithinTagAttributes|0.060|0.444|0.052|
|githubCodeBlocks|0.098|5.184|0.057|
|hashBlock|0.028|6.852|0.011|
|hashElement|0.001|0.288|0.000|
|hashHTMLSpans|0.025|5.112|0.011|
|hashPreCodeTags|0.018|0.243|0.015|
|headers|0.463|9.031|0.404|
|images|0.040|1.157|0.033|
|italicsAndBold|0.042|0.342|0.037|
|lists|5.191|8.043|4.807|
|outdent|0.052|0.584|0.046|
|paragraphs|1.353|2.595|1.233|
|spanGamut|0.625|1.919|0.575|
|strikethrough|0.000|0.227|0.000|
|stripBlankLines|0.032|0.419|0.029|
|stripLinkDefinitions|0.069|0.479|0.062|
|tables|0.001|0.269|0.000|
|unescapeSpecialChars|0.004|0.161|0.003|
|hashHTMLBlocks|0.693|1.104|0.652|
|anchors|0.186|0.521|0.164|
|autoLinks|0.016|0.183|0.014|
|blockGamut|7.566|16.244|6.642|
|blockQuotes|0.065|0.252|0.061|
|codeBlocks|0.070|1.184|0.061|
|codeSpans|0.202|1.163|0.167|
|detab|0.027|0.239|0.023|
|encodeAmpsAndAngles|0.017|0.433|0.014|
|encodeBackslashEscapes|0.015|0.426|0.013|
|encodeCode|0.180|0.504|0.161|
|escapeSpecialCharsWithinTagAttributes|0.060|0.419|0.054|
|githubCodeBlocks|0.078|4.517|0.057|
|hashBlock|0.031|5.982|0.012|
|hashElement|0.001|0.216|0.000|
|hashHTMLSpans|0.036|4.569|0.011|
|hashPreCodeTags|0.019|0.276|0.015|
|headers|0.462|5.391|0.406|
|images|0.039|1.640|0.033|
|italicsAndBold|0.043|0.333|0.037|
|lists|5.335|8.005|4.849|
|outdent|0.051|0.633|0.046|
|paragraphs|1.396|4.046|1.245|
|spanGamut|0.801|23.092|0.572|
|strikethrough|0.001|0.555|0.000|
|stripBlankLines|0.033|0.333|0.029|
|stripLinkDefinitions|0.072|0.472|0.063|
|tables|0.001|0.228|0.000|
|unescapeSpecialChars|0.004|0.209|0.003|
## [version 1.6.0](https://github.com/showdownjs/showdown/tree/1.6.0)

View File

@ -2,4 +2,4 @@
something _else _bla
something __else __bla
something __else __bla

View File

@ -4,4 +4,4 @@ http://website.com/img-x2.jpg
http://website.com/img@x2
http://website.com/img@.jpg
http://website.com/img@.jpg

View File

@ -1,2 +1,2 @@
**Nom :** aaaa
**Nom :** aaa
**Nom :** aaa

View File

@ -1 +1 @@
Just an example info@example.com ok?
Just an example info@example.com ok?

View File

@ -1 +1 @@
http://en.wikipedia.org/wiki/Tourism_in_Germany
http://en.wikipedia.org/wiki/Tourism_in_Germany

View File

@ -6,4 +6,4 @@ function thisThing() {
}
```
some other text
some other text

View File

@ -1,4 +1,4 @@
| First Header | Second Header |
| ------------- | ------------- |
| Row 1 Cell 1 | Row 1 Cell 2 |
| Row 2 Cell 1 | Row 2 Cell 2 |
| Row 2 Cell 1 | Row 2 Cell 2 |

View File

@ -2,4 +2,4 @@
| :------------ |:--------------------:| -------------:|
| col 3 is | some wordy paragraph | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
| zebra stripes | are neat | $1 |

View File

@ -40,4 +40,4 @@ var Promise = require('bluebird'),
// Holds the last used id
notificationCounter = 0,
notifications;
```
```

View File

@ -8,4 +8,4 @@ Title 1
<div>
</div>
</div>

View File

@ -16,4 +16,4 @@ foo
[![sd-ref][sd-logo]](http://www.google.com/)
[sd-logo]: https://www.google.pt/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png
[sd-logo]: https://www.google.pt/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png

View File

@ -39,4 +39,4 @@ foo
foo
* one
* two
* two

View File

@ -2,4 +2,4 @@ This is a first paragraph,
on multiple lines.
This is a second paragraph.
There are spaces in between the two.
There are spaces in between the two.

View File

@ -2,4 +2,4 @@ This is a first paragraph,
on multiple lines.
This is a second paragraph
which has multiple lines too.
which has multiple lines too.

View File

@ -2,4 +2,4 @@ A first paragraph.
A second paragraph after 3 CR (carriage return).
A second paragraph after 3 CR (carriage return).

View File

@ -1,3 +1,3 @@
This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.
A few spaces and a new long long long long long long long long long long long long long long long long paragraph on 1 line.
A few spaces and a new long long long long long long long long long long long long long long long long paragraph on 1 line.

View File

@ -1,3 +1,3 @@
This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.
1 tab to separate them and a new long long long long long long long long long long long long long long long long paragraph on 1 line.
1 tab to separate them and a new long long long long long long long long long long long long long long long long paragraph on 1 line.

View File

@ -1,3 +1,3 @@
This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.
A new long long long long long long long long long long long long long long long long paragraph on 1 line.
A new long long long long long long long long long long long long long long long long paragraph on 1 line.

View File

@ -1 +1 @@
An ampersand & in the text flow is escaped as an html entity.
An ampersand & in the text flow is escaped as an html entity.

View File

@ -1 +1 @@
There is an [ampersand](http://validator.w3.org/check?uri=http://www.w3.org/&verbose=1) in the URI.
There is an [ampersand](http://validator.w3.org/check?uri=http://www.w3.org/&verbose=1) in the URI.

View File

@ -1 +1 @@
This is \*an asterisk which should stay as is.
This is \*an asterisk which should stay as is.

View File

@ -1 +1 @@
This is * an asterisk which should stay as is.
This is * an asterisk which should stay as is.

View File

@ -9,4 +9,4 @@
\+ plus sign
\- minus sign (hyphen)
\. dot
\! exclamation mark
\! exclamation mark

View File

@ -1,3 +1,3 @@
> # heading level 1
>
> paragraph
> paragraph

View File

@ -1,3 +1,3 @@
>A blockquote with a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long line.
>and a second very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long line.
>and a second very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long line.

View File

@ -1 +1 @@
>This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph in a blockquote.
>This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph in a blockquote.

View File

@ -1,3 +1,3 @@
> A blockquote
> on multiple lines
> like this.
> like this.

View File

@ -1,3 +1,3 @@
>A blockquote
>on multiple lines
>like this.
>like this.

View File

@ -3,4 +3,4 @@
>like this.
>
>But it has
>two paragraphs.
>two paragraphs.

View File

@ -1,3 +1,3 @@
>A blockquote
>on multiple lines
>like this
>like this

View File

@ -1,3 +1,3 @@
> This is the first level of quoting.
>
> > This is nested blockquote.
> > This is nested blockquote.

View File

@ -1,2 +1,2 @@
10 PRINT HELLO INFINITE
20 GOTO 10
20 GOTO 10

View File

@ -1,2 +1,2 @@
10 PRINT < > &
20 GOTO 10
20 GOTO 10

View File

@ -1,2 +1,2 @@
10 PRINT HELLO INFINITE
20 GOTO 10
20 GOTO 10

View File

@ -1 +1 @@
as*te*risks
as*te*risks

View File

@ -1 +1 @@
*single asterisks*
*single asterisks*

View File

@ -1 +1 @@
_single underscores_
_single underscores_

View File

@ -1 +1 @@
HTML entities are written using ampersand notation: &copy;
HTML entities are written using ampersand notation: &copy;

View File

@ -1,2 +1,2 @@
This is an H1
=============
=============

View File

@ -1 +1 @@
# This is an H1 #
# This is an H1 #

View File

@ -1 +1,2 @@
# This is an H1
# This is an H1

View File

@ -1,2 +1,2 @@
# this is an h1 with two trailing spaces
A new paragraph.
A new paragraph.

View File

@ -1 +1 @@
# This is an H1
# This is an H1

View File

@ -1,2 +1,2 @@
This is an H2
-------------
-------------

View File

@ -1 +1 @@
## This is an H2 ##
## This is an H2 ##

View File

@ -1 +1 @@
## This is an H2
## This is an H2

View File

@ -1 +1 @@
### This is an H3 ###
### This is an H3 ###

View File

@ -1 +1 @@
### This is an H3
### This is an H3

View File

@ -1 +1 @@
#### This is an H4 ####
#### This is an H4 ####

View File

@ -1 +1 @@
#### This is an H4
#### This is an H4

View File

@ -1 +1 @@
##### This is an H5 #####
##### This is an H5 #####

View File

@ -1 +1 @@
##### This is an H5
##### This is an H5

View File

@ -1 +1 @@
###### This is an H6 ######
###### This is an H6 ######

View File

@ -1 +1 @@
###### This is an H6
###### This is an H6

View File

@ -1 +1 @@
- - -
- - -

View File

@ -1 +1 @@
---
---

View File

@ -1 +1 @@
***
***

View File

@ -1 +1 @@
___
___

View File

@ -1 +1 @@
-------
-------

View File

@ -1,3 +1,3 @@
![HTML5][h5]
[h5]: http://www.w3.org/html/logo/img/mark-word-icon.png "HTML5 for everyone"
[h5]: http://www.w3.org/html/logo/img/mark-word-icon.png "HTML5 for everyone"

View File

@ -1,3 +1,3 @@
![HTML5][h5]
[h5]: http://www.w3.org/html/logo/img/mark-word-icon.png
[h5]: http://www.w3.org/html/logo/img/mark-word-icon.png

View File

@ -1 +1 @@
![HTML5](http://www.w3.org/html/logo/img/mark-word-icon.png "HTML5 logo for everyone")
![HTML5](http://www.w3.org/html/logo/img/mark-word-icon.png "HTML5 logo for everyone")

View File

@ -1 +1 @@
![HTML5](http://www.w3.org/html/logo/img/mark-word-icon.png)
![HTML5](http://www.w3.org/html/logo/img/mark-word-icon.png)

View File

@ -1 +1 @@
We love `<code> and &` for everything
We love `<code> and &` for everything

View File

@ -1 +1 @@
``We love `code` for everything``
``We love `code` for everything``

View File

@ -1 +1 @@
``We love `code` for everything``
``We love `code` for everything``

View File

@ -1 +1 @@
This is an automatic link <http://www.w3.org/>
This is an automatic link <http://www.w3.org/>

View File

@ -1 +1 @@
[W3C](http://www.w3.org/ "Discover w3c")
[W3C](http://www.w3.org/ "Discover w3c")

View File

@ -1 +1 @@
[W3C](http://www.w3.org/)
[W3C](http://www.w3.org/)

View File

@ -1,3 +1,3 @@
[World Wide Web Consortium][w3c]
[w3c]: <http://www.w3.org/>
[w3c]: <http://www.w3.org/>

View File

@ -1,3 +1,3 @@
[World Wide Web Consortium][]
[World Wide Web Consortium]: http://www.w3.org/
[World Wide Web Consortium]: http://www.w3.org/

View File

@ -1,3 +1,3 @@
[w3c][]
[w3c]: http://www.w3.org/
[w3c]: http://www.w3.org/

View File

@ -1,3 +1,3 @@
[World Wide Web Consortium] [w3c]
[w3c]: http://www.w3.org/
[w3c]: http://www.w3.org/

View File

@ -1,4 +1,4 @@
[World Wide Web Consortium][w3c]
[w3c]: http://www.w3.org/
"Discover W3C"
"Discover W3C"

View File

@ -1,3 +1,3 @@
[World Wide Web Consortium][w3c]
[w3c]: http://www.w3.org/ (Discover w3c)
[w3c]: http://www.w3.org/ (Discover w3c)

View File

@ -1,3 +1,3 @@
[World Wide Web Consortium][w3c]
[w3c]: http://www.w3.org/ 'Discover w3c'
[w3c]: http://www.w3.org/ 'Discover w3c'

View File

@ -1,3 +1,3 @@
[World Wide Web Consortium][w3c]
[w3c]: http://www.w3.org/ "Discover w3c"
[w3c]: http://www.w3.org/ "Discover w3c"

View File

@ -1,3 +1,3 @@
[World Wide Web Consortium][w3c]
[w3c]: http://www.w3.org/
[w3c]: http://www.w3.org/

View File

@ -1,3 +1,3 @@
* a list containing a blockquote
> this the blockquote in the list
> this the blockquote in the list

View File

@ -1,4 +1,4 @@
* a list containing a block of code
10 PRINT HELLO INFINITE
20 GOTO 10
20 GOTO 10

View File

@ -6,4 +6,4 @@
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.
* Suspendisse id sem consectetuer libero luctus adipiscing.
* Suspendisse id sem consectetuer libero luctus adipiscing.

View File

@ -6,4 +6,4 @@
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.
* Suspendisse id sem consectetuer libero luctus adipiscing.
* Suspendisse id sem consectetuer libero luctus adipiscing.

View File

@ -1 +1 @@
1\. ordered list escape
1\. ordered list escape

View File

@ -1,3 +1,3 @@
1. list item 1
8. list item 2
1. list item 3
1. list item 3

View File

@ -1,3 +1,3 @@
1. list item 1
2. list item 2
3. list item 3
3. list item 3

View File

@ -1,3 +1,3 @@
This is a paragraph
on multiple lines
with hard return.
with hard return.

View File

@ -1 +1 @@
This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.
This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.

View File

@ -1 +1 @@
This is a paragraph with a trailing and leading space.
This is a paragraph with a trailing and leading space.

View File

@ -1 +1 @@
This is a paragraph with 1 trailing tab.
This is a paragraph with 1 trailing tab.

View File

@ -1 +1 @@
This is a paragraph with 2 leading spaces.
This is a paragraph with 2 leading spaces.

View File

@ -1 +1 @@
This is a paragraph with 3 leading spaces.
This is a paragraph with 3 leading spaces.

View File

@ -1 +1 @@
This is a paragraph with 1 leading space.
This is a paragraph with 1 leading space.

View File

@ -1 +1 @@
as**te**risks
as**te**risks

View File

@ -1 +1 @@
**double asterisks**
**double asterisks**

View File

@ -1 +1 @@
__double underscores__
__double underscores__

View File

@ -1,3 +1,3 @@
- list item 1
- list item 2
- list item 3
- list item 3

View File

@ -1,3 +1,3 @@
* list item 1
* list item 2
* list item 3
* list item 3

View File

@ -1,3 +1,3 @@
* list item 1
* list item 2
* list item 3
* list item 3

Some files were not shown because too many files have changed in this diff Show More