diff options
| author | Alex Harsányi <alex-hhh@users.noreply.github.com> | 2024-11-09 08:22:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-09 08:22:23 +0800 |
| commit | 2ed4c6a26b8f3d651ac6231eaafb2565d77c918b (patch) | |
| tree | 36a816fbcbfaca59a4aa5f60e072ddb8960f0428 /sql-indent-test.el | |
| parent | c3dd49ccd1f0655ed1699058c16a777ac1cb1419 (diff) | |
Consider "column" keyword in "if exists" checks (#109) (#110)externals/sql-indent
... to avoid indenting an "if" block in such cases
Diffstat (limited to 'sql-indent-test.el')
| -rw-r--r-- | sql-indent-test.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql-indent-test.el b/sql-indent-test.el index c0ab6f4..707427a 100644 --- a/sql-indent-test.el +++ b/sql-indent-test.el @@ -1,6 +1,6 @@ ;;; sql-indent-test.el --- Automated tests for sql-indent.el. -*- lexical-binding: t -*- -;; Copyright (C) 2017 Free Software Foundation, Inc +;; Copyright (C) 2017, 2024 Free Software Foundation, Inc ;; Author: Alex Harsanyi (AlexHarsanyi@gmail.com) ;; Created: 23 May 2017 @@ -513,4 +513,9 @@ information read from DATA-FILE (as generated by "test-data/pr107.sql" "test-data/pr107-syn.eld")) +(ert-deftest sqlind-ert-pr109 () + (sqlind-ert-check-file-syntax + "test-data/pr109.sql" + "test-data/pr109-syn.eld")) + ;;; sql-indent-test.el ends here |
