From 82f577d76f7b3d900d9207e66979a591177b887e Mon Sep 17 00:00:00 2001 From: Shingo Kitagawa Date: Mon, 30 Jan 2023 14:37:34 +0900 Subject: [PATCH] fix parenthesis and add more error --- roseus/test/test-simple-server-cancel.l | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roseus/test/test-simple-server-cancel.l b/roseus/test/test-simple-server-cancel.l index d4d843ebe..ada42a017 100644 --- a/roseus/test/test-simple-server-cancel.l +++ b/roseus/test/test-simple-server-cancel.l @@ -28,8 +28,11 @@ (send server :worker) (send client :spin-once) (ros::ros-info "action server returned with status: ~S" (send client :get-state)) - (assert (equal actionlib_msgs::GoalStatus::*PREEMPTED* - (send client :get-state))))))) + (assert (equal actionlib_msgs::GoalStatus::*PREEMPTED* (send client :get-state)) + (format nil "GoalStatus is not equal to actionlib_msgs::GoalStatus::*PREEMPTED*: ~A is expected, but client get ~A" + actionlib_msgs::GoalStatus::*PREEMPTED* + (send client :get-state))) + )) (ros::roseus "server_cancel") (run-all-tests)