NEO-28: gdformat ability_cast_client_test.gd after connect() wrap.
parent
0bce6ed74c
commit
bbfa761aee
|
|
@ -151,8 +151,7 @@ func test_cast_result_received_emits_false_with_reason_on_denied() -> void:
|
||||||
var got: Array = []
|
var got: Array = []
|
||||||
c.connect(
|
c.connect(
|
||||||
"cast_result_received",
|
"cast_result_received",
|
||||||
func(accepted: bool, reason: String) -> void:
|
func(accepted: bool, reason: String) -> void: got.append([accepted, reason])
|
||||||
got.append([accepted, reason])
|
|
||||||
)
|
)
|
||||||
# Act
|
# Act
|
||||||
var started: bool = bool(c.call("request_cast", 0, "prototype_pulse", "prototype_target_alpha"))
|
var started: bool = bool(c.call("request_cast", 0, "prototype_pulse", "prototype_target_alpha"))
|
||||||
|
|
@ -171,8 +170,7 @@ func test_cast_result_received_emits_true_with_empty_reason_on_accepted() -> voi
|
||||||
var got: Array = []
|
var got: Array = []
|
||||||
c.connect(
|
c.connect(
|
||||||
"cast_result_received",
|
"cast_result_received",
|
||||||
func(accepted: bool, reason: String) -> void:
|
func(accepted: bool, reason: String) -> void: got.append([accepted, reason])
|
||||||
got.append([accepted, reason])
|
|
||||||
)
|
)
|
||||||
# Act
|
# Act
|
||||||
var started: bool = bool(c.call("request_cast", 0, "prototype_pulse", null))
|
var started: bool = bool(c.call("request_cast", 0, "prototype_pulse", null))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue