summaryrefslogtreecommitdiffstats
path: root/test/test.cpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-24 14:37:33 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-24 14:37:33 -0500
commite07a164897f5ce584cbdb93bd8f50055bd56ac6a (patch)
tree4454375ad1e134f7600eb3eab9b0904d4045db06 /test/test.cpp
parent6676c12df1620932ef10b1b107ecfd51be93deae (diff)
downloadphosphor-inventory-manager-e07a164897f5ce584cbdb93bd8f50055bd56ac6a.tar.gz
phosphor-inventory-manager-e07a164897f5ce584cbdb93bd8f50055bd56ac6a.zip
Fix build failure
Comparing strings to object paths directly isn't supported at the moment. Change-Id: I98083cf563fe8dde74e7f058720a0481bbe7c2e6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'test/test.cpp')
-rw-r--r--test/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cpp b/test/test.cpp
index 89e46b9..28fa611 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -163,7 +163,7 @@ void runTests(phosphor::inventory::manager::Manager& mgr)
sdbusplus::message::object_path signalPath;
Object<std::string> signalObject;
sig.read(signalPath);
- assert(path == signalPath);
+ assert(path == signalPath.str);
sig.read(signalObject);
assert(hasProperties(signalObject, obj));
auto moreSignals{queue.pop()};
OpenPOWER on IntegriCloud