回答編集履歴
2
再修正
test
CHANGED
@@ -82,7 +82,7 @@
|
|
82
82
|
|
83
83
|
|
84
84
|
|
85
|
-
let exp= expectation(description: "Hoge")
|
85
|
+
let exp = expectation(description: "Hoge")
|
86
86
|
|
87
87
|
|
88
88
|
|
1
修正
test
CHANGED
@@ -82,19 +82,19 @@
|
|
82
82
|
|
83
83
|
|
84
84
|
|
85
|
-
let exp
|
85
|
+
let exp= expectation(description: "Hoge")
|
86
86
|
|
87
87
|
|
88
88
|
|
89
89
|
vc.HttpRequest(sentence: "Word") { _ in
|
90
90
|
|
91
|
-
exp
|
91
|
+
exp.fulfill()
|
92
92
|
|
93
93
|
}
|
94
94
|
|
95
95
|
|
96
96
|
|
97
|
-
wait(for: [exp
|
97
|
+
wait(for: [exp], timeout: 10.0)
|
98
98
|
|
99
99
|
}
|
100
100
|
|