Skip to content

Commit a7d6781

Browse files
Wilfredmeta-codesync[bot]
authored andcommitted
Remove swift-format-ignore-file comment from test files (4/4)
Summary: Remove the `swift-format-ignore-file: OrderedImports` comment from test files that were part of D102170960, and run the formatter to fix import ordering. swift-format 6.3 landed in D102351570. I've limited the cleanup to test files because there are a few cases where reordering imports can change the meaning of code: swiftlang/swift#76842, whereas test files are safe to codemod (sandcastle is sufficient). allow-large-files allow_many_files bypass-lint drop-conflicts Reviewed By: ebgraham Differential Revision: D102595847 fbshipit-source-id: be04ed27579d02e39185e9f861c774aba4ffa5f0
1 parent ea728bc commit a7d6781

9 files changed

Lines changed: 8 additions & 44 deletions

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/HStackRTLServerSnapshotTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
118
import FBServerSnapshotTestCase
129
import FBTestImageGenerator
13-
1410
@testable import QuickLayoutBridge
1511
@testable import QuickLayoutCore
1612

Sources/QuickLayout/QuickLayoutBridge/__tests__/BodyCreationTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutBridge
149
@testable import QuickLayoutBridgeTestUsage
10+
import XCTest
1511

1612
@MainActor
1713
final class BodyCreationTests: XCTestCase {

Sources/QuickLayout/QuickLayoutBridge/__tests__/BodyCreationWithNestedViewsTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutBridge
149
@testable import QuickLayoutBridgeTestUsage
10+
import XCTest
1511

1612
@MainActor
1713
final class BodyCreationWithNestedViewsTests: XCTestCase {

Sources/QuickLayout/QuickLayoutBridge/__tests__/FuzzyComparisonTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutCore
9+
import XCTest
1410

1511
final class FuzzyComparisonTests: XCTestCase {
1612

Sources/QuickLayout/QuickLayoutBridge/__tests__/MethodOverrideTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutBridge
149
@testable import QuickLayoutBridgeTestUsage
10+
import XCTest
1511

1612
@MainActor
1713
final class MethodOverrideTests: XCTestCase {

Sources/QuickLayout/QuickLayoutBridge/__tests__/MethodOverrideWithSuperclassTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutBridge
149
@testable import QuickLayoutBridgeTestUsage
10+
import XCTest
1511

1612
@MainActor
1713
final class MethodOverrideWithSuperclassTests: XCTestCase {

Sources/QuickLayout/QuickLayoutBridge/__tests__/PixelGridRoundingTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutCore
9+
import XCTest
1410

1511
private struct TestData {
1612
let screenScale: CGFloat

Sources/QuickLayout/QuickLayoutBridge/__tests__/ThreadSafetyTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutBridge
149
@testable @preconcurrency import QuickLayoutCore
10+
import XCTest
1511

1612
@MainActor
1713
class ThreadSafetyTests: XCTestCase {

Sources/QuickLayout/QuickLayoutBridge/__tests__/UIKitStandardLibrarySizingBehaviourTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
// Disabled during swift-format 6.3 rollout, feel free to remove:
9-
// swift-format-ignore-file: OrderedImports
10-
11-
import XCTest
12-
138
@testable import QuickLayoutCore
9+
import XCTest
1410

1511
@MainActor
1612
class UIKitStandardLibrarySizingBehaviourTests: XCTestCase {

0 commit comments

Comments
 (0)