Base: Quantity: return std::string
This commit is contained in:
committed by
Yorik van Havre
parent
c11b37e312
commit
2ea8a633ac
@@ -82,7 +82,7 @@ TEST_F(PropertyExpressionEngineTest, executeCrossPropertyReference)
|
||||
auto target_value = target_quant.getValue();
|
||||
auto target_unit = target_quant.getUnit().getString();
|
||||
|
||||
auto verify_quant = Base::Quantity::parse(QString::fromStdString(target_text));
|
||||
auto verify_quant = Base::Quantity::parse(target_text);
|
||||
|
||||
EXPECT_EQ(target_quant, verify_quant) << ""
|
||||
"expecting equal: source_text='" + source_text + "' target_text='" + target_text + "'"
|
||||
|
||||
Reference in New Issue
Block a user