From 2896f6daa856667c1153089f0c50d1dda831f263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Mon, 13 Apr 2020 13:50:24 +0200 Subject: [PATCH] Add missing test A fix for https://github.com/jdorn/sql-formatter/issues/51 was contributed as 0b30579a, but did not come with a fix. --- tests/compress.html | 4 +++- tests/sql.sql | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/compress.html b/tests/compress.html index 9edba05..7bbca96 100644 --- a/tests/compress.html +++ b/tests/compress.html @@ -78,4 +78,6 @@ SELECT "no closing quote -SELECT [sqlserver] FROM [escap[e]]d style]; \ No newline at end of file +SELECT [sqlserver] FROM [escap[e]]d style]; + +SELECT a FROM b LEFT OUTER JOIN c on (d=f); diff --git a/tests/sql.sql b/tests/sql.sql index c601033..373e6b2 100644 --- a/tests/sql.sql +++ b/tests/sql.sql @@ -263,3 +263,7 @@ SELECT :pdoParam; SELECT "no closing quote SELECT [sqlserver] FROM [escap[e]]d style]; + +SELECT a FROM b LEFT +OUTER +JOIN c on (d=f);