TemplateCharReplace: More tests
Fix case insensitive replace
Tested: Tests pass
Change-Id: I0c650e4761d3c6e464a90ecfe1e2c8b314c2ff57
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/Utils.cpp b/src/Utils.cpp
index 010a55a..4888760 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -192,8 +192,8 @@
{
std::string val = std::visit(VariantToStringVisitor(),
foundDevicePair.second);
- boost::replace_all(*strPtr,
- templateChar + foundDevicePair.first, val);
+ boost::ireplace_all(*strPtr,
+ templateChar + foundDevicePair.first, val);
continue;
}