Skip to content

Commit 6b4061c

Browse files
committed
add section to describe what is done and remove comment, because the testcase describes already
1 parent a666b52 commit 6b4061c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/test_dbc.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ TEST_CASE("Testing dbc file loading", "[fileio]") {
6363

6464
}
6565

66-
/*!
67-
* \brief TEST_CASE
68-
* Test negative values in offset, min, max
69-
*/
7066
TEST_CASE("Testing negative values") {
7167
const auto* filename = std::tmpnam(NULL);
7268

@@ -125,7 +121,7 @@ TEST_CASE("Special characters in unit") {
125121

126122
REQUIRE(parser.get_messages().size() == 1);
127123
REQUIRE(parser.get_messages().at(0).signals.size() == 1);
128-
{
124+
SECTION("Checking that signal with special characters as unit is parsed correctly") {
129125
const auto signal = parser.get_messages().at(0).signals.at(0);
130126
REQUIRE(signal.unit.compare("Km/h") == 0);
131127
}

0 commit comments

Comments
 (0)