Skip to content

Commit 8f0ef5c

Browse files
committed
refactor: formatting
Signed-off-by: Rob Walworth <[email protected]>
1 parent b85eeb4 commit 8f0ef5c

24 files changed

+78
-43
lines changed

Tests/HieroIntegrationTests/Account/AccountAllowanceApproveTransactionIntegrationTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import XCTest
77
internal final class AccountAllowanceApproveTransactionIntegrationTests: HieroIntegrationTestCase {
88
internal func test_Spend() async throws {
99
// Given
10-
let (aliceAccountId, aliceKey) = try await createTestAccount(initialBalance: TestConstants.testMediumHbarBalance)
10+
let (aliceAccountId, aliceKey) = try await createTestAccount(
11+
initialBalance: TestConstants.testMediumHbarBalance)
1112
let (bobAccountId, bobKey) = try await createTestAccount(initialBalance: TestConstants.testMediumHbarBalance)
1213

1314
// When

Tests/HieroIntegrationTests/Account/AccountCreateTransactionIntegrationTests.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ internal final class AccountCreateTransactionIntegrationTests: HieroIntegrationT
8484

8585
// Then
8686
let info = try await AccountInfoQuery(accountId: accountId).execute(testEnv.client)
87-
assertAccountInfoWithEvmAddress(info, accountId: accountId, key: .single(adminKey.publicKey), evmAddress: evmAddress)
87+
assertAccountInfoWithEvmAddress(
88+
info, accountId: accountId, key: .single(adminKey.publicKey), evmAddress: evmAddress)
8889
}
8990

9091
internal func test_AliasFromAdminKeyWithReceiverSigRequired() async throws {
@@ -104,7 +105,8 @@ internal final class AccountCreateTransactionIntegrationTests: HieroIntegrationT
104105

105106
// Then
106107
let info = try await AccountInfoQuery(accountId: accountId).execute(testEnv.client)
107-
assertAccountInfoWithEvmAddress(info, accountId: accountId, key: .single(adminKey.publicKey), evmAddress: evmAddress)
108+
assertAccountInfoWithEvmAddress(
109+
info, accountId: accountId, key: .single(adminKey.publicKey), evmAddress: evmAddress)
108110
}
109111

110112
internal func test_AliasFromAdminKeyWithReceiverSigRequiredMissingSignatureFails()

Tests/HieroIntegrationTests/Account/AccountDeleteTransactionIntegrationTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import XCTest
77
internal final class AccountDeleteTransactionIntegrationTests: HieroIntegrationTestCase {
88
internal func test_CreateThenDelete() async throws {
99
// Given
10-
let (accountId, key) = try await createSimpleUnmanagedAccount(initialBalance: TestConstants.testSmallHbarBalance)
10+
let (accountId, key) = try await createSimpleUnmanagedAccount(
11+
initialBalance: TestConstants.testSmallHbarBalance)
1112

1213
// When
1314
_ = try await AccountDeleteTransaction()

Tests/HieroIntegrationTests/Account/AccountInfoQueryIntegrationTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ internal final class AccountInfoQueryIntegrationTests: HieroIntegrationTestCase
1111
.execute(testEnv.client)
1212

1313
// Then
14-
assertAccountInfo(info, accountId: testEnv.operator.accountId, key: .single(testEnv.operator.privateKey.publicKey))
14+
assertAccountInfo(
15+
info, accountId: testEnv.operator.accountId, key: .single(testEnv.operator.privateKey.publicKey))
1516
XCTAssertGreaterThan(info.balance, 0)
1617
XCTAssertEqual(info.proxyReceived, 0)
1718
}

Tests/HieroIntegrationTests/File/FileAppendTransactionIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import HieroTestSupport
66
import XCTest
77

88
internal final class FileAppendTransactionIntegrationTests: HieroIntegrationTestCase {
9-
9+
1010
private let testContent = "[swift::e2e::fileAppend]"
1111

1212
// MARK: - Tests

Tests/HieroIntegrationTests/File/FileContentsQueryIntegrationTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import HieroTestSupport
55
import XCTest
66

77
internal final class FileContentsQueryIntegrationTests: HieroIntegrationTestCase {
8-
8+
99
private let testContent = "[swift::e2e::fileContents]"
1010

1111
// MARK: - Tests
@@ -60,7 +60,8 @@ internal final class FileContentsQueryIntegrationTests: HieroIntegrationTestCase
6060
let cost = try await query.getCost(testEnv.client)
6161

6262
// When
63-
let contents = try await query
63+
let contents =
64+
try await query
6465
.paymentAmount(cost)
6566
.execute(testEnv.client)
6667

Tests/HieroIntegrationTests/File/FileCreateTransactionIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import HieroTestSupport
55
import XCTest
66

77
internal final class FileCreateTransactionIntegrationTests: HieroIntegrationTestCase {
8-
8+
99
private let testContent = "[swift::e2e::fileCreate]"
1010

1111
// MARK: - Tests

Tests/HieroIntegrationTests/File/FileDeleteTransactionIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import HieroTestSupport
55
import XCTest
66

77
internal final class FileDeleteTransactionIntegrationTests: HieroIntegrationTestCase {
8-
8+
99
private let testContent = "[swift::e2e::fileDelete]"
1010

1111
// MARK: - Tests

Tests/HieroIntegrationTests/File/FileInfoQueryIntegrationTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import HieroTestSupport
55
import XCTest
66

77
internal final class FileInfoQueryIntegrationTests: HieroIntegrationTestCase {
8-
8+
99
private let testContent = "[swift::e2e::fileInfo]"
1010

1111
// MARK: - Tests
@@ -51,7 +51,8 @@ internal final class FileInfoQueryIntegrationTests: HieroIntegrationTestCase {
5151
let cost = try await query.getCost(testEnv.client)
5252

5353
// When / Then
54-
_ = try await query
54+
_ =
55+
try await query
5556
.paymentAmount(cost)
5657
.execute(testEnv.client)
5758
}

Tests/HieroIntegrationTests/File/FileUpdateTransactionIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import HieroTestSupport
55
import XCTest
66

77
internal final class FileUpdateTransactionIntegrationTests: HieroIntegrationTestCase {
8-
8+
99
private let testContent = "[swift::e2e::fileUpdate]"
1010

1111
// MARK: - Tests

0 commit comments

Comments
 (0)