Skip to content

Commit

Permalink
Update src/Sensor_TEST.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
  • Loading branch information
francocipollone and chapulina committed Aug 19, 2021
1 parent 4470190 commit 1a6355e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sensor_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ TEST_F(SensorUpdate, Update)
sdfSensor.SetName(kSensorName);
sdfSensor.SetTopic(kSensorTopic);
sdfSensor.SetEnableMetrics(kEnableMetrics);
std::unique_ptr<Sensor> sensor = std::make_unique<TestSensor>();
std::unique_ptr<TestSensor> sensor = std::make_unique<TestSensor>();
sensor->Load(sdfSensor);
ASSERT_EQ(kSensorTopic, sensor->Topic());
ASSERT_EQ(kEnableMetrics, sensor->EnableMetrics());
Expand Down

0 comments on commit 1a6355e

Please sign in to comment.