Kaydet (Commit) affb63e6 authored tarafından Michael Meeks's avatar Michael Meeks

sot: minor unit test logic cleanup

üst ac90be0e
......@@ -127,7 +127,7 @@ namespace
{
SvFileStream aStream(rURL, STREAM_READ);
SotStorageRef xObjStor = new SotStorage(aStream);
if (!xObjStor.Is() && !xObjStor->GetError())
if (!xObjStor.Is() || xObjStor->GetError())
return false;
CPPUNIT_ASSERT_MESSAGE("sot storage is not valid", xObjStor->Validate());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment