File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments