summaryrefslogtreecommitdiff
path: root/tests/testdata/fmt/badly_formatted_fixed.sql
diff options
context:
space:
mode:
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');