From 613a7599c83b54449813ea971567a45fbb4d383c Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Sun, 19 Apr 2015 21:24:59 -0300 Subject: [PATCH] Fix SQL beautification tests --- examples/nested-jsbeautifyrc/sql/expected/test.sql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/nested-jsbeautifyrc/sql/expected/test.sql b/examples/nested-jsbeautifyrc/sql/expected/test.sql index ed6e24a..2925130 100644 --- a/examples/nested-jsbeautifyrc/sql/expected/test.sql +++ b/examples/nested-jsbeautifyrc/sql/expected/test.sql @@ -1,9 +1,14 @@ -SELECT ca.proj_id AS proj_id, ca.ca_name AS proj_name, ca.ca_date_start AS proj_start, ca.ca_date_end AS proj_end, +SELECT ca.proj_id AS proj_id, + ca.ca_name AS proj_name, + ca.ca_date_start AS proj_start, + ca.ca_date_end AS proj_end, + (SELECT count(*) FROM rotations r WHERE r.proj_id = proj_id AND r.r_status = 'R' GROUP BY r.proj_id) r_count, + (SELECT count(*) FROM rotations r WHERE r.proj_id = proj_id