diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/clihighlight.html | 8 | ||||
-rw-r--r-- | tests/compress.html | 4 | ||||
-rw-r--r-- | tests/format-highlight.html | 8 | ||||
-rw-r--r-- | tests/format.html | 7 | ||||
-rw-r--r-- | tests/highlight.html | 5 | ||||
-rw-r--r-- | tests/sql.sql | 2 |
6 files changed, 26 insertions, 8 deletions
diff --git a/tests/clihighlight.html b/tests/clihighlight.html index 6ccfc12..575bc0e 100644 --- a/tests/clihighlight.html +++ b/tests/clihighlight.html @@ -805,5 +805,9 @@ [36;1m@"weird variable name"[0m;[0m [37mSELECT[0m - [34;1m"no closing quote -[0m
\ No newline at end of file + [34;1m"no closing quote[0m + +[37mSELECT[0m + [35;1m[sqlserver][0m +[37mFROM[0m + [35;1m[escap[e]]d style][0m;[0m
\ No newline at end of file diff --git a/tests/compress.html b/tests/compress.html index bb2fcf7..e8c6fe6 100644 --- a/tests/compress.html +++ b/tests/compress.html @@ -74,4 +74,6 @@ SELECT @ and b; SELECT @"weird variable name"; -SELECT "no closing quote
\ No newline at end of file +SELECT "no closing quote + +SELECT [sqlserver] FROM [escap[e]]d style];
\ No newline at end of file diff --git a/tests/format-highlight.html b/tests/format-highlight.html index 73af253..3009897 100644 --- a/tests/format-highlight.html +++ b/tests/format-highlight.html @@ -805,5 +805,9 @@ <span style="color: orange;">@"weird variable name"</span><span >;</span></pre> <pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span> - <span style="color: blue;">"no closing quote -</span></pre>
\ No newline at end of file + <span style="color: blue;">"no closing quote</span></pre> + +<pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span> + <span style="color: purple;">[sqlserver]</span> +<span style="font-weight:bold;">FROM</span> + <span style="color: purple;">[escap[e]]d style]</span><span >;</span></pre>
\ No newline at end of file diff --git a/tests/format.html b/tests/format.html index dcbac03..d2ea31e 100644 --- a/tests/format.html +++ b/tests/format.html @@ -804,4 +804,9 @@ SELECT @"weird variable name"; SELECT - "no closing quote
\ No newline at end of file + "no closing quote + +SELECT + [sqlserver] +FROM + [escap[e]]d style];
\ No newline at end of file diff --git a/tests/highlight.html b/tests/highlight.html index e26af9a..4637eee 100644 --- a/tests/highlight.html +++ b/tests/highlight.html @@ -258,5 +258,6 @@ <pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span> <span style="color: orange;">@"weird variable name"</span><span >;</span></pre> -<pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span> <span style="color: blue;">"no closing quote -</span></pre>
\ No newline at end of file +<pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span> <span style="color: blue;">"no closing quote</span></pre> + +<pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span> <span style="color: purple;">[sqlserver]</span> <span style="font-weight:bold;">FROM</span> <span style="color: purple;">[escap[e]]d style]</span><span >;</span></pre>
\ No newline at end of file diff --git a/tests/sql.sql b/tests/sql.sql index 4e2d988..7bd40c0 100644 --- a/tests/sql.sql +++ b/tests/sql.sql @@ -259,3 +259,5 @@ SELECT @ and b; SELECT @"weird variable name"; SELECT "no closing quote + +SELECT [sqlserver] FROM [escap[e]]d style]; |