Base: Skip test for units using GTEST_SKIP() instead of comments

This commit is contained in:
Benjamin Nauck
2025-05-19 19:52:20 +02:00
parent e4238f58e1
commit 4241d795c0

View File

@@ -315,18 +315,16 @@ TEST_F(SchemaTest, imperial_building_special_function_length_foot)
EXPECT_EQ(result, expect);
}
/*
* QuantityParser::yyparse() is crashing on the >>1' 2" + 1/4"<< input,
* so disable this test
TEST_F(SchemaTest, imperial_building_special_function_length)
{
GTEST_SKIP() << "QuantityParser::yyparse() is crashing on the >>1' 2\" + 1/4\"<< input, "
"so disable this test";
constexpr auto val {360.6};
const auto result = set("ImperialBuilding", Unit::Length, val);
const auto expect = Tools::escapeQuotesFromString("1' 2\" + 1/4\"");
EXPECT_EQ(result, expect);
}
*/
TEST_F(SchemaTest, imperial_building_special_function_length_neg)
{