Skip to content

Commit

Permalink
Run SwiftFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
pahnev authored and github-actions[bot] committed Oct 11, 2023
1 parent fb24e4e commit 1ddc0e9
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Sources/TMDBKit/Model/AccountState.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// AccountDetails.swift
// AccountState.swift
// TMDBKit
//
// Created by Pahnev, Kirill on 7.12.2021.
Expand Down
2 changes: 1 addition & 1 deletion Sources/TMDBKit/Model/MovieFragment.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Result.swift
// MovieFragment.swift
// TMDBKit
//
// Created by Kirill Pahnev on 29/06/2018.
Expand Down
2 changes: 1 addition & 1 deletion Sources/TMDBKit/Model/WatchProvider.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// File.swift
// WatchProvider.swift
//
//
// Created by Pahnev, Kirill on 7.12.2021.
Expand Down
2 changes: 1 addition & 1 deletion Sources/TMDBKit/Networking/APIClient/TMDB+Search.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Search.swift
// TMDB+Search.swift
// TMDBKit
//
// Created by Pahnev, Kirill on 2.9.2021.
Expand Down
2 changes: 1 addition & 1 deletion Sources/TMDBKit/Networking/Endpoints/Lists.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// List.swift
// Lists.swift
//
//
// Created by Pahnev, Kirill on 13.4.2021.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// PersonMovieCreditsResponse.swift
// PersonCreditsResponse.swift
//
//
// Created by Pahnev, Kirill on 14/11/2019.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// File.swift
// PersonDetailsResponse.swift
//
//
// Created by Pahnev, Kirill on 14/11/2019.
Expand Down
6 changes: 2 additions & 4 deletions Tests/TMDBKitTests/AuthenticationEndpointTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AuthenticationEndpointTests.swift
//
//
//
// Created by Kirill Pahnev on 11.10.2023.
//
Expand All @@ -9,7 +9,6 @@ import XCTest
@testable import TMDBKit

final class AuthenticationEndpointTests: TMDBTestCase {

func test_createRequestToken_returnsToken() throws {
try stubHelper.stubWithLocalFile(Authentication.requestToken)

Expand Down Expand Up @@ -63,10 +62,9 @@ final class AuthenticationEndpointTests: TMDBTestCase {
func test_endpointHeaders() {
XCTAssertEqual(Authentication.requestToken.requestHeaders, [:])
XCTAssertEqual(Authentication.createQuestSession.requestHeaders, [:])
XCTAssertEqual(Authentication.createSession(requestToken: "a-token").requestHeaders,
XCTAssertEqual(Authentication.createSession(requestToken: "a-token").requestHeaders,
["Content-Type": "application/json;charset=utf-8"])
XCTAssertEqual(Authentication.deleteSession(sessionId: "an-id").requestHeaders,
["Content-Type": "application/json;charset=utf-8"])
}

}
2 changes: 1 addition & 1 deletion Tests/TMDBKitTests/Helpers/MockAuth.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// File.swift
// MockAuth.swift
//
//
// Created by Pahnev, Kirill on 14/11/2019.
Expand Down
2 changes: 1 addition & 1 deletion Tests/TMDBKitTests/MovieEndpointTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// TMDBKitTests.swift
// MovieEndpointTests.swift
// TMDBKitTests
//
// Created by Kirill Pahnev on 29/06/2018.
Expand Down
2 changes: 1 addition & 1 deletion Tests/TMDBKitTests/PeopleEnpointTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// File.swift
// PeopleEnpointTests.swift
//
//
// Created by Pahnev, Kirill on 14/11/2019.
Expand Down

0 comments on commit 1ddc0e9

Please sign in to comment.