fix constant field dump
Build / build (push) Failing after 1m52s
Coverage / coverage (push) Failing after 3m13s

This commit is contained in:
John
2025-02-21 06:37:03 +01:00
parent 1965639f07
commit d8b2ae1bc8
+1 -1
View File
@@ -965,7 +965,7 @@ void ConstantDataField::dump(bool prependFieldSeparator, OutputFormat outputForm
dumpPrefix(prependFieldSeparator, outputFormat, output);
// no divisor appended since it is not allowed for ConstantDataField
if (outputFormat & OF_JSON) {
appendJson(false, "value", m_value, true, output);
appendJson(true, "value", m_value, true, output);
*output << ", \"verify\": " << (m_verify ? "true" : "false");
} else {
*output << (m_verify?"==":"=") << m_value;