Skip to content

Commit beaddb5

Browse files
mbrandonwgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 8342b1a commit beaddb5

File tree

10 files changed

+27
-27
lines changed

10 files changed

+27
-27
lines changed

Tests/StructuredQueriesTests/AggregateFunctionsTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ extension SnapshotTests {
253253
FROM "tags"
254254
ORDER BY "tags"."title"
255255
"""
256-
}results: {
256+
} results: {
257257
"""
258258
┌─────────────────────────────┐
259259
"car,kids,someday,optional"
@@ -272,7 +272,7 @@ extension SnapshotTests {
272272
FROM "tags"
273273
ORDER BY "tags"."title"
274274
"""
275-
}results: {
275+
} results: {
276276
"""
277277
┌────────────────────┐
278278
"someday,optional"
@@ -293,7 +293,7 @@ extension SnapshotTests {
293293
FROM "tags"
294294
ORDER BY "tags"."title"
295295
"""
296-
}results: {
296+
} results: {
297297
"""
298298
┌────────────────────┐
299299
"someday,optional"
@@ -315,7 +315,7 @@ extension SnapshotTests {
315315
FROM "tags"
316316
ORDER BY "tags"."title"
317317
"""
318-
}results: {
318+
} results: {
319319
"""
320320
┌───────────┐
321321
"someday"
@@ -354,7 +354,7 @@ extension SnapshotTests {
354354
SELECT group_concat(("tags"."title" || '!'), ', ')
355355
FROM "tags"
356356
"""
357-
}results: {
357+
} results: {
358358
"""
359359
┌────────────────────────────────────┐
360360
"car!, kids!, someday!, optional!"

Tests/StructuredQueriesTests/DeleteTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ extension SnapshotTests {
137137
WHERE ("rs"."id" = 1)
138138
RETURNING "id", "color", "title"
139139
"""
140-
}results: {
140+
} results: {
141141
"""
142142
┌─────────────────────┐
143143
│ RemindersList( │

Tests/StructuredQueriesTests/InsertTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ extension SnapshotTests {
207207
FROM "remindersLists"
208208
RETURNING "id", "title"
209209
"""
210-
}results: {
210+
} results: {
211211
"""
212212
┌─────────────────────┐
213213
│ Tag( │
@@ -411,7 +411,7 @@ extension SnapshotTests {
411411
ON CONFLICT ("id") DO UPDATE SET "color" = "excluded"."color", "title" = "excluded"."title"
412412
RETURNING "id", "color", "title"
413413
"""
414-
}results: {
414+
} results: {
415415
"""
416416
UNIQUE constraint failed: remindersLists.title
417417
"""
@@ -434,7 +434,7 @@ extension SnapshotTests {
434434
VALUES ('office')
435435
RETURNING "tags"."id", "tags"."title"
436436
"""
437-
}results: {
437+
} results: {
438438
"""
439439
table tags has no column named name
440440
"""
@@ -458,7 +458,7 @@ extension SnapshotTests {
458458
('cruise')
459459
RETURNING "id", "color", "title"
460460
"""
461-
}results: {
461+
} results: {
462462
"""
463463
┌───────────────────┐
464464
│ RemindersList( │

Tests/StructuredQueriesTests/JoinTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension SnapshotTests {
1818
JOIN "remindersLists" ON ("reminders"."remindersListID" = "remindersLists"."id")
1919
ORDER BY "reminders"."dueDate" DESC
2020
"""
21-
}results: {
21+
} results: {
2222
"""
2323
┌────────────────────────────┬────────────┐
2424
"Take out trash""Family"

Tests/StructuredQueriesTests/LiveTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ extension SnapshotTests {
189189
JOIN "reminders" ON ("remindersLists"."id" = "reminders"."remindersListID")
190190
GROUP BY "remindersLists"."id"
191191
"""
192-
}results: {
192+
} results: {
193193
"""
194194
┌─────────────────────┬───┐
195195
│ RemindersList( │ 5 │
@@ -229,7 +229,7 @@ extension SnapshotTests {
229229
JOIN "tags" ON ("remindersTags"."tagID" = "tags"."id")
230230
GROUP BY "reminders"."id"
231231
"""
232-
}results: {
232+
} results: {
233233
"""
234234
┌────────────────────────────────────────────┬────────────────────┐
235235
│ Reminder( │ "someday,optional"

Tests/StructuredQueriesTests/PrimaryKeyedTableTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ extension SnapshotTests {
141141
JOIN "remindersLists" ON ("reminders"."remindersListID" = "remindersLists"."id")
142142
WHERE ("reminders"."id" = 2)
143143
"""
144-
}results: {
144+
} results: {
145145
"""
146146
┌───────────┬────────────┐
147147
"Haircut""Personal"

Tests/StructuredQueriesTests/SQLMacroTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extension SnapshotTests {
6666
ON "reminders"."remindersListID" = "remindersLists"."id"
6767
LIMIT 1
6868
"""
69-
}results: {
69+
} results: {
7070
"""
7171
┌────────────────────────────────────────────┬─────────────────────┐
7272
│ Reminder( │ RemindersList( │
@@ -102,7 +102,7 @@ extension SnapshotTests {
102102
SELECT "reminders"."id", "reminders"."assignedUserID", "reminders"."dueDate", "reminders"."isCompleted", "reminders"."isFlagged", "reminders"."notes", "reminders"."priority", "reminders"."remindersListID", "reminders"."title", "remindersLists"."id", "remindersLists"."color", "remindersLists"."title"
103103
FROM "reminders" JOIN "remindersLists" ON "reminders"."remindersListID" = "remindersLists"."id" LIMIT 1
104104
"""
105-
}results: {
105+
} results: {
106106
"""
107107
┌──────────────────────────────────────────────┐
108108
│ ReminderWithList( │

Tests/StructuredQueriesTests/SelectTests.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extension SnapshotTests {
2424
SELECT "tags"."id", "tags"."title"
2525
FROM "tags"
2626
"""
27-
}results: {
27+
} results: {
2828
"""
2929
┌─────────────────────┐
3030
│ Tag( │
@@ -99,7 +99,7 @@ extension SnapshotTests {
9999
SELECT "tags"."title"
100100
FROM "tags"
101101
"""
102-
}results: {
102+
} results: {
103103
"""
104104
┌────────────┐
105105
"car"
@@ -117,7 +117,7 @@ extension SnapshotTests {
117117
SELECT "tags"."id", "tags"."title"
118118
FROM "tags"
119119
"""
120-
}results: {
120+
} results: {
121121
"""
122122
┌───┬────────────┐
123123
│ 1 │ "car"
@@ -168,7 +168,7 @@ extension SnapshotTests {
168168
FROM "reminders"
169169
JOIN "remindersLists" ON ("reminders"."remindersListID" = "remindersLists"."id")
170170
"""
171-
}results: {
171+
} results: {
172172
#"""
173173
┌────────────────────────────────────────────┬─────────────────────┐
174174
│ Reminder( │ RemindersList( │
@@ -308,7 +308,7 @@ extension SnapshotTests {
308308
FROM "remindersLists"
309309
JOIN "reminders" ON ("remindersLists"."id" = "reminders"."remindersListID")
310310
"""
311-
}results: {
311+
} results: {
312312
"""
313313
┌────────────┬────────────────────────────┐
314314
"Personal""Groceries"
@@ -919,7 +919,7 @@ extension SnapshotTests {
919919
GROUP BY "remindersLists"."id"
920920
LIMIT 1
921921
"""
922-
}results: {
922+
} results: {
923923
"""
924924
┌────────────┬───┐
925925
"Personal" │ 5 │
@@ -1046,7 +1046,7 @@ extension SnapshotTests {
10461046
LEFT JOIN "reminders" ON ("remindersLists"."id" = "reminders"."remindersListID")
10471047
WHERE ifnull(("reminders"."priority" = 3), 0)
10481048
"""
1049-
}results: {
1049+
} results: {
10501050
"""
10511051
┌─────────────────────┬────────────────────────────────────────────┐
10521052
│ RemindersList( │ Reminder( │

Tests/StructuredQueriesTests/SelectionTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension SnapshotTests {
2525
GROUP BY "remindersLists"."id"
2626
LIMIT 2
2727
"""
28-
}results: {
28+
} results: {
2929
"""
3030
┌─────────────────────────────────┐
3131
│ RemindersListAndReminderCount( │
@@ -60,7 +60,7 @@ extension SnapshotTests {
6060
GROUP BY "remindersLists"."id"
6161
LIMIT 2
6262
"""
63-
}results: {
63+
} results: {
6464
"""
6565
┌─────────────────────────────────┐
6666
│ RemindersListAndReminderCount( │

Tests/StructuredQueriesTests/UnionTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extension SnapshotTests {
2121
SELECT 'tag', "tags"."title"
2222
FROM "tags"
2323
"""
24-
}results: {
24+
} results: {
2525
"""
2626
┌────────────┬────────────────────────────┐
2727
"list""Business"
@@ -71,7 +71,7 @@ extension SnapshotTests {
7171
FROM "names"
7272
ORDER BY "names"."type" DESC, "names"."value" ASC
7373
"""
74-
}results: {
74+
} results: {
7575
"""
7676
┌─────────────────────────────────────┐
7777
│ Name( │

0 commit comments

Comments
 (0)