Skip to content

Commit 936756e

Browse files
Remove print statements
1 parent 2bb909a commit 936756e

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

Sources/Scalars/AnyValue.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ extension AnyValue: Codable {
4343
public init(from decoder: any Decoder) throws {
4444
let singleValueContainer = try decoder.singleValueContainer()
4545
value = try singleValueContainer.decode(Data.self)
46-
47-
print("decoded data \(value.count)")
48-
print("decoded data string \(String(data: value, encoding: .utf8))")
4946
}
5047

5148
public func encode(to encoder: any Encoder) throws {

Tests/Integration/AnyScalarTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@ final class AnyScalarTests: IntegrationTestBase {
4545
.execute()
4646
let anyValueResult = result.data.anyValueType?.props
4747
let decodedResult = try anyValueResult?.decodeValue(String.self)
48-
print(decodedResult)
4948

5049
XCTAssertEqual(testData, decodedResult)
5150
}
5251

5352
func testAnyValueInt() async throws {
5453
let testNumber = Int.random(in: 1 ... 9999)
55-
print("testNumber \(testNumber)")
5654
let anyTestData = try AnyValue(codableValue: testNumber)
5755

5856
let anyValueId = UUID()
@@ -65,7 +63,7 @@ final class AnyScalarTests: IntegrationTestBase {
6563
.execute()
6664
let anyValueResult = result.data.anyValueType?.props
6765
let decodedResult = try anyValueResult?.decodeValue(Int.self)
68-
print("decodedNumber \(decodedResult)")
66+
6967
XCTAssertEqual(testNumber, decodedResult)
7068
}
7169

Tests/Integration/ConfigSetup.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ actor ProjectConfigurator {
5353
var configureRequest = URLRequest(url: configureUrl)
5454
configureRequest.httpMethod = "POST"
5555

56-
let (data, response) = try await URLSession.shared.upload(
56+
let (_, response) = try await URLSession.shared.upload(
5757
for: configureRequest,
5858
from: configureBody.data(using: .utf8)!
5959
)
60-
print("responseData \(response)")
6160
setupComplete = true
6261
}
6362
}

0 commit comments

Comments
 (0)