File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ public class Inspect {
60
60
encoder. outputFormatting = . prettyPrinted
61
61
if let data = try ? encoder. encode ( obj) {
62
62
let json = String ( data: data, encoding: . utf8) !
63
- return json. replacingOccurrences ( of: " \" " , with: " " )
63
+ return json
64
+ . replacingOccurrences ( of: " \" " , with: " " )
65
+ . replacingOccurrences ( of: " \\ / " , with: " / " )
64
66
} else {
65
67
var toStr = String ( )
66
68
Swift . dump ( obj, to: & toStr)
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ class AutoQueryTests: XCTestCase {
38
38
39
39
do {
40
40
let response = try client. get ( request)
41
-
41
+
42
+ // Inspect.printDump(response)
42
43
XCTAssertEqual ( response. total, 15 )
43
44
XCTAssertEqual ( response. results. count, 3 )
44
45
let names = response. results. map { $0. name! } . joined ( separator: " , " )
You can’t perform that action at this time.
0 commit comments