diff options
author | murphy <murphy@rubychan.de> | 2006-04-16 00:42:38 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2006-04-16 00:42:38 +0000 |
commit | a2834bb05c4ab5bd32437f333a26f8286438ade4 (patch) | |
tree | 9c984ba59c66e301de4de18b46e3f76c50ead402 /test | |
parent | ee808b400543d924286eebaee8ed1ad8a4e28ced (diff) | |
download | coderay-a2834bb05c4ab5bd32437f333a26f8286438ade4.tar.gz |
All scanners revisited not to produce errors unless in DEBUG mode. [thx@Daniel]
Fixed numerization for input not ending with \n. Added test cases in C scanner tests.
Added WoNáDo as contributer for last Ruby scanner fix.
Updated TODO.
Diffstat (limited to 'test')
-rw-r--r-- | test/c/empty.in.c | 0 | ||||
-rw-r--r-- | test/c/empty.out.raydebug | 0 | ||||
-rw-r--r-- | test/c/error.in.c | 1 | ||||
-rw-r--r-- | test/c/error.out.raydebug | 1 | ||||
-rw-r--r-- | test/c/error2.in.c | 1 | ||||
-rw-r--r-- | test/c/error2.out.raydebug | 1 | ||||
-rw-r--r-- | test/html/tolkien.html | 1 |
7 files changed, 4 insertions, 1 deletions
diff --git a/test/c/empty.in.c b/test/c/empty.in.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/c/empty.in.c diff --git a/test/c/empty.out.raydebug b/test/c/empty.out.raydebug new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/c/empty.out.raydebug diff --git a/test/c/error.in.c b/test/c/error.in.c new file mode 100644 index 0000000..9cad53e --- /dev/null +++ b/test/c/error.in.c @@ -0,0 +1 @@ +\\
diff --git a/test/c/error.out.raydebug b/test/c/error.out.raydebug new file mode 100644 index 0000000..bc3c350 --- /dev/null +++ b/test/c/error.out.raydebug @@ -0,0 +1 @@ +error(\\)\
diff --git a/test/c/error2.in.c b/test/c/error2.in.c new file mode 100644 index 0000000..1910281 --- /dev/null +++ b/test/c/error2.in.c @@ -0,0 +1 @@ +foo
\ No newline at end of file diff --git a/test/c/error2.out.raydebug b/test/c/error2.out.raydebug new file mode 100644 index 0000000..ccd2125 --- /dev/null +++ b/test/c/error2.out.raydebug @@ -0,0 +1 @@ +ident(foo)
\ No newline at end of file diff --git a/test/html/tolkien.html b/test/html/tolkien.html index fd7ae2d..f4dd841 100644 --- a/test/html/tolkien.html +++ b/test/html/tolkien.html @@ -284,7 +284,6 @@ ol.CodeRay li { white-space: pre } </tt>167<tt>
</tt>168<tt>
</tt>169<tt>
-</tt><strong>170</strong><tt>
</tt></pre></td>
<td class="code"><pre ondblclick="with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }"><span title="[:preprocessor]" class="pp"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></span><span title="[:space]" class="NO_HIGHLIGHT"><tt>
</tt></span><span title="[:tag]" class="ta"><html</span><span title="[:space]" class="NO_HIGHLIGHT"> </span><span title="[:attribute_name]" class="an">xmlns</span><span title="[:operator]" class="NO_HIGHLIGHT">=</span><span title="[:string]" class="s"><span title="[:string, :delimiter]" class="dl">"</span><span title="[:string, :content]" class="k">http://www.w3.org/1999/xhtml</span><span title="[:string, :delimiter]" class="dl">"</span></span><span title="[:space]" class="NO_HIGHLIGHT"> </span><span title="[:attribute_name]" class="an">xml:lang</span><span title="[:operator]" class="NO_HIGHLIGHT">=</span><span title="[:string]" class="s"><span title="[:string, :delimiter]" class="dl">"</span><span title="[:string, :content]" class="k">de</span><span title="[:string, :delimiter]" class="dl">"</span></span><span title="[:space]" class="NO_HIGHLIGHT"> </span><span title="[:attribute_name]" class="an">lang</span><span title="[:operator]" class="NO_HIGHLIGHT">=</span><span title="[:string]" class="s"><span title="[:string, :delimiter]" class="dl">"</span><span title="[:string, :content]" class="k">de</span><span title="[:string, :delimiter]" class="dl">"</span></span><span title="[:tag]" class="ta">></span><span title="[:space]" class="NO_HIGHLIGHT"><tt>
|