diff --git a/client/test/position_authority_client_test.gd b/client/test/position_authority_client_test.gd index 8690f9d..c2ff4c0 100644 --- a/client/test/position_authority_client_test.gd +++ b/client/test/position_authority_client_test.gd @@ -65,7 +65,9 @@ func test_sync_boot_get_200_emits_snap() -> void: # Act c.sync_from_server() # Assert - await assert_signal(c).is_emitted("authoritative_position_received", Vector3(1.0, 0.9, -5.0), true) + await assert_signal(c).is_emitted( + "authoritative_position_received", Vector3(1.0, 0.9, -5.0), true + ) # NEO-24: boot sync also emits the cooldown-throttled heartbeat. @@ -104,7 +106,9 @@ func test_move_stream_post_400_emits_move_rejected_then_boot_get() -> void: c.submit_stream_targets([Vector3(1.0, 2.0, 3.0)]) # Assert await assert_signal(c).is_emitted("move_rejected", "vertical_step_exceeded") - await assert_signal(c).is_emitted("authoritative_position_received", Vector3(0.0, 0.9, 0.0), true) + await assert_signal(c).is_emitted( + "authoritative_position_received", Vector3(0.0, 0.9, 0.0), true + ) func test_move_stream_post_400_without_reason_emits_unknown() -> void: @@ -118,7 +122,9 @@ func test_move_stream_post_400_without_reason_emits_unknown() -> void: c.submit_stream_targets([Vector3.ZERO]) # Assert await assert_signal(c).is_emitted("move_rejected", "unknown") - await assert_signal(c).is_emitted("authoritative_position_received", Vector3(1.0, 0.9, 1.0), true) + await assert_signal(c).is_emitted( + "authoritative_position_received", Vector3(1.0, 0.9, 1.0), true + ) func test_second_sync_while_busy_is_ignored() -> void: