summaryrefslogtreecommitdiff
path: root/tests/testdata/fmt/badly_formatted_fixed.sql
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2024-11-20 00:18:57 +0100
committerBartek Iwańczuk <biwanczuk@gmail.com>2024-11-20 00:18:57 +0100
commit21bd818f1ee531a49c46213417774fbc18a8b562 (patch)
treeea32c744f0fd1932f7a505892e43846a73823fbd /tests/testdata/fmt/badly_formatted_fixed.sql
parent6356329b37282178701c0064a4a2cd04286a51e7 (diff)
parent46b6037644c761369e689704f8e7b857959da155 (diff)
Merge branch 'main' into haturatu/main
Diffstat (limited to 'tests/testdata/fmt/badly_formatted_fixed.sql')
-rw-r--r--tests/testdata/fmt/badly_formatted_fixed.sql22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/testdata/fmt/badly_formatted_fixed.sql b/tests/testdata/fmt/badly_formatted_fixed.sql
new file mode 100644
index 000000000..d50c61921
--- /dev/null
+++ b/tests/testdata/fmt/badly_formatted_fixed.sql
@@ -0,0 +1,22 @@
+SELECT
+ *
+FROM
+ foo;
+
+UPDATE
+ foo
+SET
+ a = 'b'
+WHERE
+ id = 'biz';
+
+CREATE TABLE foo(
+ id text NOT NULL bar text,
+ biz int,
+ buz number NOT NULL
+);
+
+INSERT INTO
+ user_data (first_name, last_name, address, phone, email)
+VALUES
+ ('foo', 'bar', 'biz', 1, 'bix');