Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Commit a629afc

Browse files
author
Xiaocheng Dong
committed
roslint error
1 parent 4c3521d commit a629afc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opencl_caffe/src/srv.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bool Srv::handleService(object_msgs::DetectObject::Request& req, object_msgs::De
6262

6363
resp.objects.push_back(objects);
6464
}
65-
65+
6666
return true;
6767
}
6868

opencl_caffe/tests/unittest_srv.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ TEST(UnitTestSrv, testSrv)
3636
inf.request.image_paths.push_back(ros::package::getPath("opencl_caffe") + "/resources/cat.jpg");
3737
client.waitForExistence(ros::Duration(120));
3838
ASSERT_TRUE(client.call(inf));
39-
ASSERT_TRUE(inf.response.objects.size() == 2);
39+
ASSERT_EQ(inf.response.objects.size(), 2);
4040
ASSERT_GE(inf.response.objects[0].objects_vector.size(), 1);
4141
ASSERT_GE(inf.response.objects[1].objects_vector.size(), 1);
4242
}

0 commit comments

Comments
 (0)