summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/clihighlight.html8
-rw-r--r--tests/compress.html4
-rw-r--r--tests/format-highlight.html8
-rw-r--r--tests/format.html7
-rw-r--r--tests/highlight.html5
-rw-r--r--tests/sql.sql2
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 @@
@"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/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;">@&quot;weird variable name&quot;</span><span >;</span></pre>
<pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span>
- <span style="color: blue;">&quot;no closing quote
-</span></pre> \ No newline at end of file
+ <span style="color: blue;">&quot;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;">@&quot;weird variable name&quot;</span><span >;</span></pre>
-<pre style="color: black; background-color: white;"><span style="font-weight:bold;">SELECT</span> <span style="color: blue;">&quot;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;">&quot;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];